Browse Source

* Fix strtoint64def

michael 5 năm trước cách đây
mục cha
commit
1e31931375
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rtl/sysutils.pas

+ 1 - 1
packages/rtl/sysutils.pas

@@ -3867,7 +3867,7 @@ function StrToInt64Def(const S: String; ADefault: NativeLargeInt
 
 
 begin
-  if TryStrToInt64(S,Result) then
+  if not TryStrToInt64(S,Result) then
     Result:=ADefault;
 end;