mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 22:15:55 +02:00
IDE: clean up
git-svn-id: trunk@39964 -
This commit is contained in:
parent
0a66ac5ea5
commit
01bdba496f
@ -139,7 +139,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
if ATimeOut > 0
|
if ATimeOut > 0
|
||||||
then t := GetTickCount;
|
then t := GetTickCount64;
|
||||||
|
|
||||||
// wait for all handles
|
// wait for all handles
|
||||||
Step:=0;
|
Step:=0;
|
||||||
@ -152,7 +152,7 @@ begin
|
|||||||
R := FpSelect(Max + 1, @FDSWait, nil, nil, TimeOut);
|
R := FpSelect(Max + 1, @FDSWait, nil, nil, TimeOut);
|
||||||
|
|
||||||
if (ATimeOut > 0) then begin
|
if (ATimeOut > 0) then begin
|
||||||
t2 := GetTickCount;
|
t2 := GetTickCount64;
|
||||||
if t2 < t
|
if t2 < t
|
||||||
then t3 := t2 + (High(t) - t)
|
then t3 := t2 + (High(t) - t)
|
||||||
else t3 := t2 - t;
|
else t3 := t2 - t;
|
||||||
|
Loading…
Reference in New Issue
Block a user