mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 23:52:02 +00:00
- shorten sdl_waitevent error message
This commit is contained in:
parent
83d751af72
commit
eba9036164
1 changed files with 1 additions and 5 deletions
|
@ -289,11 +289,7 @@ void SDL2DisplayWindow::RunLoop()
|
|||
SDL_Event event;
|
||||
int result = SDL_WaitEvent(&event);
|
||||
if (result == 0)
|
||||
{
|
||||
fprintf(stderr, "SDL_WaitEvent failed: ");
|
||||
fprintf(stderr, SDL_GetError());
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
fprintf(stderr, "SDL_WaitEvent failed: %s\n", SDL_GetError());
|
||||
DispatchEvent(event);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue