Procházet zdrojové kódy

* Fixed bug #7445

git-svn-id: trunk@4727 -
michael před 19 roky
rodič
revize
8d6cc357c0
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      rtl/objpas/typinfo.pp

+ 4 - 4
rtl/objpas/typinfo.pp

@@ -1304,22 +1304,22 @@ begin
         AMethod.Data:=Instance;
         Case GetTypeData(PropInfo^.PropType)^.FloatType of
           ftSingle:
-            if ((PropInfo^.PropProcs shr 6) and 1)<>0 then
+            if ((PropInfo^.PropProcs shr 6) and 1)=0 then
               Result:=TGetSingleProc(AMethod)()
             else
               Result:=TGetSingleProcIndex(AMethod)(PropInfo^.Index);
           ftDouble:
-            if ((PropInfo^.PropProcs shr 6) and 1)<>0 then
+            if ((PropInfo^.PropProcs shr 6) and 1)=0 then
               Result:=TGetDoubleProc(AMethod)()
             else
               Result:=TGetDoubleProcIndex(AMethod)(PropInfo^.Index);
           ftExtended:
-            if ((PropInfo^.PropProcs shr 6) and 1)<>0 then
+            if ((PropInfo^.PropProcs shr 6) and 1)=0 then
               Result:=TGetExtendedProc(AMethod)()
             else
               Result:=TGetExtendedProcIndex(AMethod)(PropInfo^.Index);
           ftCurr:
-            if ((PropInfo^.PropProcs shr 6) and 1)<>0 then
+            if ((PropInfo^.PropProcs shr 6) and 1)=0 then
               Result:=TGetCurrencyProc(AMethod)()
             else
               Result:=TGetCurrencyProcIndex(AMethod)(PropInfo^.Index);