Selaa lähdekoodia

GetLocalTimeOffset - fix overload call

git-svn-id: trunk@47289 -
ondrej 4 vuotta sitten
vanhempi
commit
e10ee5ccb4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      rtl/objpas/sysutils/dati.inc

+ 1 - 1
rtl/objpas/sysutils/dati.inc

@@ -1534,7 +1534,7 @@ end;
 function GetLocalTimeOffset(const DateTime: TDateTime): Integer;
 begin
   if not GetLocalTimeOffset(DateTime, Result) then
-    Result:=GetLocalTimeOffset;
+    Result:=GetLocalTimeOffset();
 end;
 
 { Conversion of UTC to local time and vice versa }