user32: Use logical OR not bitwise OR
Andrew Talbot
andrew.talbot at talbotville.com
Wed Nov 21 12:15:53 CST 2007
Changelog:
user32: Use logical OR not bitwise OR.
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c
index 3a93121..d5b0212 100644
--- a/dlls/user32/menu.c
+++ b/dlls/user32/menu.c
@@ -3122,7 +3122,7 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
/* the mouse moves. */
if (hmenu)
- fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags );
+ fEndMenu = fEndMenu || !MENU_MouseMove( &mt, hmenu, wFlags );
} /* switch(msg.message) - mouse */
}
More information about the wine-patches
mailing list