Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
joncampbell123 committed Apr 15, 2019
1 parent 69d25d6 commit 2c88a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/sdl_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ class ConfigurationWindow : public GUI::ToplevelWindow {
i++;
}

const auto finalgridpos = gridfunc(i > 0 ? (i - 1) : 0);
const auto finalgridpos = gridfunc(i - 1);
int closerow_y = finalgridpos.second + 12 + gridbtnheight;

(closeButton = new GUI::Button(this, 240, closerow_y, "Close", 80))->addActionHandler(this);
Expand Down

0 comments on commit 2c88a21

Please sign in to comment.