dlls/shell32/shlexec.c: use named constant

Rolf Kalbermatter rolf.kalbermatter at citeng.com
Thu Apr 1 03:31:22 CST 2004


Changelog
  dlls/shell32/shlexec.c
    Use named constant instead of a simple number (gets rid of signed warning too)

License: X11/LGPL

Rolf Kalbermatter

RCS file: /home/wine/wine/dlls/shell32/shlexec.c,v
retrieving revision 1.37
diff -u -r1.37 shlexec.c
--- dlls/shell32/shlexec.c	27 Mar 2004 20:41:20 -0000	1.37
+++ dlls/shell32/shlexec.c	31 Mar 2004 23:57:55 -0000
@@ -216,7 +216,7 @@
         /* Give 30 seconds to the app to come up, if desired. Probably only needed
            when starting app immediately before making a DDE connection. */
         if (shWait)
-            if (WaitForInputIdle( info.hProcess, 30000 ) == -1)
+            if (WaitForInputIdle( info.hProcess, 30000 ) == WAIT_FAILED)
                 WARN("WaitForInputIdle failed: Error %ld\n", GetLastError() );
         retval = 33;
         if (psei->fMask & SEE_MASK_NOCLOSEPROCESS)


 




More information about the wine-patches mailing list