diff src/video/win32/SDL_win32events.c @ 3102:73fe1f73a56f

Oops
author Sam Lantinga <slouken@libsdl.org>
date Sat, 28 Mar 2009 06:00:42 +0000
parents 0d12e8f1de3c
children 7f684f249ec9
line wrap: on
line diff
--- 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;