Mercurial > sdl-ios-xcode
changeset 3565:f43c8f688f77
Fixed bug #906
Added better error reporting for OpenGL context creation failing.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Dec 2009 08:11:06 +0000 |
parents | d264d99576c1 |
children | 07c8339c95c6 |
files | src/video/win32/SDL_win32events.c src/video/win32/SDL_win32opengl.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c Tue Dec 15 05:34:58 2009 +0000 +++ b/src/video/win32/SDL_win32events.c Tue Dec 15 08:11:06 2009 +0000 @@ -732,7 +732,7 @@ FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, GetLastError(), 0, buffer, SDL_arraysize(buffer), NULL); message = WIN_StringToUTF8(buffer); - SDL_SetError("%s%s%s", prefix ? prefix : "", prefix ? ":" : "", message); + SDL_SetError("%s%s%s", prefix ? prefix : "", prefix ? ": " : "", message); SDL_free(message); }