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