瀏覽代碼

Fixed loading boolean property.

Henrique Gottardi Werlang 4 年之前
父節點
當前提交
d69b7e791b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/rtl/classes.pas

+ 1 - 1
packages/rtl/classes.pas

@@ -8159,7 +8159,7 @@ begin
         SetOrdProp(Instance, PropInfo, ReadInteger);
       end;
     tkBool:
-      SetOrdProp(Instance, PropInfo, Ord(ReadBoolean));
+      SetBoolProp(Instance, PropInfo, ReadBoolean);
     tkChar:
       SetOrdProp(Instance, PropInfo, Ord(ReadChar));
     tkEnumeration: