summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-29 22:14:47 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-29 22:14:47 +0000
commitc13a79880f143ee6dca4b1a1c8c3b43a568d0ebe (patch)
tree1194217a5f069ce688b046e27c4f459765ee570e /src/gui/setup.cpp
parent255adf0769586ccce52da6147a841ba945d3e9e2 (diff)
downloadmana-c13a79880f143ee6dca4b1a1c8c3b43a568d0ebe.tar.gz
mana-c13a79880f143ee6dca4b1a1c8c3b43a568d0ebe.tar.bz2
mana-c13a79880f143ee6dca4b1a1c8c3b43a568d0ebe.tar.xz
mana-c13a79880f143ee6dca4b1a1c8c3b43a568d0ebe.zip
*** empty log message ***
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp4
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)