WinRT: Fixed format string for error message.

main
Philipp Wiesemann 2015-04-13 20:52:18 +02:00
parent 3a0270593e
commit 0fbd3372d4
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ WINRT_CreateWindow(_THIS, SDL_Window * window)
if (SDL_EGL_ChooseConfig(_this) != 0) { if (SDL_EGL_ChooseConfig(_this) != 0) {
char buf[512]; char buf[512];
SDL_snprintf(buf, sizeof(buf), "SDL_EGL_ChooseConfig failed: %s", SDL_GetError()); SDL_snprintf(buf, sizeof(buf), "SDL_EGL_ChooseConfig failed: %s", SDL_GetError());
return SDL_SetError(buf); return SDL_SetError("%s", buf);
} }
if (video_data->winrtEglWindow) { /* ... is the 'old' version of ANGLE/WinRT being used? */ if (video_data->winrtEglWindow) { /* ... is the 'old' version of ANGLE/WinRT being used? */