dlls/ole32/compobj.c
Gerald Pfeifer
gerald at pfeifer.com
Tue Jan 1 07:14:24 CST 2008
Gerald Pfeifer wrote:
> since I saw you go for option 1 in the case of basetexture.c, here is
> the analog patch for cubetexture.c. ;-)
And here is one for dlls/ole32/compobj.c. That should be most of the
cases of this type now, except for one or so.
Gerald
ChangeLog:
Remove one noop check in CoWaitForMultipleHandles().
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.265
diff -u -3 -p -r1.265 compobj.c
--- dlls/ole32/compobj.c 24 Dec 2007 20:22:57 -0000 1.265
+++ dlls/ole32/compobj.c 1 Jan 2008 13:09:46 -0000
@@ -3508,7 +3508,7 @@ HRESULT WINAPI CoWaitForMultipleHandles(
(dwFlags & COWAIT_ALERTABLE) ? TRUE : FALSE);
}
- if ((res >= WAIT_OBJECT_0) && (res < WAIT_OBJECT_0 + cHandles))
+ if (res < WAIT_OBJECT_0 + cHandles)
{
/* handle signaled, store index */
*lpdwindex = (res - WAIT_OBJECT_0);
More information about the wine-patches
mailing list