From 8146598967be568d216b45c54ea8bc5803bb11a2 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 10 Jul 2016 17:38:19 -0400 Subject: [PATCH] fix blank screen when hitting "Cancel" on double screen dialog --- src/PowderToySDL.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index f96868024..bd7fdcc5f 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -735,7 +735,6 @@ void DoubleScreenDialog() { Client::Ref().SetPref("Scale", 1); engine->SetScale(1); - engine->CloseWindow(); #ifdef WIN LoadWindowPosition(1); #endif @@ -1013,7 +1012,7 @@ int main(int argc, char * argv[]) tempScale = 1; SDLOpen(); - if (Client::Ref().IsFirstRun() && desktopWidth > WINDOWW*2+50 && desktopHeight > WINDOWH*2+50) + //if (Client::Ref().IsFirstRun() && desktopWidth > WINDOWW*2+50 && desktopHeight > WINDOWH*2+50) { tempScale = 2; Client::Ref().SetPref("Scale", 2);