Skip to content

Commit

Permalink
Whoops, screwed up default window position.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 28, 2007
1 parent 0acc4ea commit cc40f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toby_wxwidgets.cpp
Expand Up @@ -807,7 +807,7 @@ const wxPoint TobyFrame::getPreviousPos()
(!cfg->Read(wxT("WindowY"), &winy)) ||
(!cfg->Read(wxT("WindowW"), &winw)) ||
(!cfg->Read(wxT("WindowH"), &winh)) )
return wxPoint(dpyw / 4, dpyh / 4);
return wxPoint(dpyw / 8, dpyh / 8);

if (winw > dpyw) { winw = dpyw; winx = 0; }
else if (winw < 50) winw = 50;
Expand Down

0 comments on commit cc40f16

Please sign in to comment.