Mercurial > sdl-ios-xcode
changeset 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 | 67ad1c88dda0 |
files | src/video/SDL_video.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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 : ""; }