Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
3101:7b1da3f37f97 | 3102:73fe1f73a56f |
---|---|
595 /* If this isn't our window, we don't need to repaint the frame. | 595 /* If this isn't our window, we don't need to repaint the frame. |
596 This fixes a reentrancy issue that can cause stack overflows with foreign windows. | 596 This fixes a reentrancy issue that can cause stack overflows with foreign windows. |
597 3/21/09 Mason Wheeler */ | 597 3/21/09 Mason Wheeler */ |
598 case WM_NCPAINT: | 598 case WM_NCPAINT: |
599 { | 599 { |
600 if (SDL_GetWindowFlags(data->windowID) && SDL_WINDOW_FOREIGN) { | 600 if (SDL_GetWindowFlags(data->windowID) & SDL_WINDOW_FOREIGN) { |
601 return(0); | 601 return(0); |
602 } | 602 } |
603 break; | 603 break; |
604 } | 604 } |
605 | 605 |