Skip to content

Commit

Permalink
fix blank screen when hitting "Cancel" on double screen dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jul 10, 2016
1 parent a3865c8 commit 8146598
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/PowderToySDL.cpp
Expand Up @@ -735,7 +735,6 @@ void DoubleScreenDialog()
{
Client::Ref().SetPref("Scale", 1);
engine->SetScale(1);
engine->CloseWindow();
#ifdef WIN
LoadWindowPosition(1);
#endif
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8146598

Please sign in to comment.