Merge commit '70aafdb1f3' into dev

This commit is contained in:
Dimitris Panokostas 2017-04-10 18:27:19 +02:00
commit 566dcf4bb3

View file

@ -271,7 +271,9 @@ static void graphics_subinit()
{ {
if (screen == nullptr) if (screen == nullptr)
{ {
fprintf(stderr, "Unable to set video mode: %s\n", SDL_GetError()); open_screen(&currprefs);
if (screen == nullptr)
fprintf(stderr, "Unable to set video mode: %s\n", SDL_GetError());
} }
else else
{ {