diff src/video/SDL_video.c @ 4872:231f8a1c5edd

Whoops, return "" even if the window is invalid.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 29 Aug 2010 16:28:04 -0700
parents 81a6a9f396ba
children c3eb55210a90
line wrap: on
line diff
--- a/src/video/SDL_video.c	Sun Aug 29 16:26:35 2010 -0700
+++ b/src/video/SDL_video.c	Sun Aug 29 16:28:04 2010 -0700
@@ -1112,7 +1112,7 @@
 const char *
 SDL_GetWindowTitle(SDL_Window * window)
 {
-    CHECK_WINDOW_MAGIC(window, NULL);
+    CHECK_WINDOW_MAGIC(window, "");
 
     return window->title ? window->title : "";
 }