diff options
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r-- | src/gui/setup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp index 6610314e..330315dc 100644 --- a/src/gui/setup.cpp +++ b/src/gui/setup.cpp @@ -34,7 +34,6 @@ #include "radiobutton.h" #include "ok_dialog.h" #include "../main.h" -#include <SDL.h> #ifndef WIN32 extern Sound sound; @@ -136,7 +135,8 @@ void Setup::action(const std::string& eventId) { if (eventId == "apply") { setVisible(false); - int sel = modeList->getSelected(); + int sel = 0; + sel = modeList->getSelected(); // Display settings if (fsCheckBox->isMarked() && config.getValue("screen", 0) == 2) |