Permalink
Browse files

fix blank screen when hitting "Cancel" on double screen dialog

  • Loading branch information...
jacob1 committed Jul 10, 2016
1 parent a3865c8 commit 8146598967be568d216b45c54ea8bc5803bb11a2
Showing with 1 addition and 2 deletions.
  1. +1 −2 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);

0 comments on commit 8146598

Please sign in to comment.