src/video/SDL_video.c
changeset 2860 6ce28e5287e9
parent 2859 99210400e8b9
child 2869 2fe507a2ef7d
     1.1 --- a/src/video/SDL_video.c	Mon Dec 08 00:27:32 2008 +0000
     1.2 +++ b/src/video/SDL_video.c	Mon Dec 08 00:52:12 2008 +0000
     1.3 @@ -1054,7 +1054,7 @@
     1.4  {
     1.5      SDL_Window *window = SDL_GetWindowFromID(windowID);
     1.6  
     1.7 -    if (!window) {
     1.8 +    if (window) {
     1.9          if (w) {
    1.10              *w = window->w;
    1.11          }