Mercurial > sdl-ios-xcode
diff src/video/windib/SDL_dibvideo.c @ 1280:f61f045343d3
Re-query the SDL_WINDOWID each time we initialize the video
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Jan 2006 06:11:38 +0000 |
parents | 86d0d01290ea |
children | ea3888b472bf |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.c Sat Jan 28 05:47:11 2006 +0000 +++ b/src/video/windib/SDL_dibvideo.c Sun Jan 29 06:11:38 2006 +0000 @@ -589,7 +589,7 @@ } /* DJM: Don't piss of anyone who has setup his own window */ - if ( SDL_windowid == NULL ) + if ( !SDL_windowid ) SetWindowLong(SDL_Window, GWL_STYLE, style); /* Delete the old bitmap if necessary */ @@ -665,7 +665,7 @@ } /* Resize the window */ - if ( SDL_windowid == NULL ) { + if ( !SDL_windowid ) { HWND top; UINT swp_flags; const char *window = getenv("SDL_VIDEO_WINDOW_POS");