# HG changeset patch # User Sam Lantinga # Date 1238220042 0 # Node ID 73fe1f73a56fb38e7d0e3b1cecdb2e254ba4572a # Parent 7b1da3f37f979bdf9c3fb9bbc02ffda3a8beb51d Oops diff -r 7b1da3f37f97 -r 73fe1f73a56f src/video/win32/SDL_win32events.c --- a/src/video/win32/SDL_win32events.c Tue Mar 24 10:46:18 2009 +0000 +++ b/src/video/win32/SDL_win32events.c Sat Mar 28 06:00:42 2009 +0000 @@ -597,7 +597,7 @@ 3/21/09 Mason Wheeler */ case WM_NCPAINT: { - if (SDL_GetWindowFlags(data->windowID) && SDL_WINDOW_FOREIGN) { + if (SDL_GetWindowFlags(data->windowID) & SDL_WINDOW_FOREIGN) { return(0); } break;