Browse Source

*wince: compile broken dword instead of boolean

git-svn-id: trunk@5601 -
oro06 18 years ago
parent
commit
76a3e61135
1 changed files with 2 additions and 2 deletions
  1. 2 2
      fcl/wince/process.inc

+ 2 - 2
fcl/wince/process.inc

@@ -220,8 +220,8 @@ Var
 
 
 begin
 begin
   R:=WaitForSingleObject (FProcessHandle,Infinite);
   R:=WaitForSingleObject (FProcessHandle,Infinite);
-  Result:=R<>Wait_Failed;
-  If R then
+  Result:=(R<>Wait_Failed);
+  If Result then
     GetExitStatus;
     GetExitStatus;
   FRunning:=False;
   FRunning:=False;
 end;
 end;