comparison 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
comparison
equal deleted inserted replaced
4871:81a6a9f396ba 4872:231f8a1c5edd
1110 } 1110 }
1111 1111
1112 const char * 1112 const char *
1113 SDL_GetWindowTitle(SDL_Window * window) 1113 SDL_GetWindowTitle(SDL_Window * window)
1114 { 1114 {
1115 CHECK_WINDOW_MAGIC(window, NULL); 1115 CHECK_WINDOW_MAGIC(window, "");
1116 1116
1117 return window->title ? window->title : ""; 1117 return window->title ? window->title : "";
1118 } 1118 }
1119 1119
1120 void 1120 void