summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-27 05:58:40 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-27 05:58:40 +0000
commit5a3932c59852d6492a8452058dc1ebf11d57017a (patch)
tree871f4fa64b60cba713ee340fafc86bc6dea1d2ad
parent27be25397b09772928d5cdf8c47e350f9baefb69 (diff)
downloadmana-5a3932c59852d6492a8452058dc1ebf11d57017a.tar.gz
mana-5a3932c59852d6492a8452058dc1ebf11d57017a.tar.bz2
mana-5a3932c59852d6492a8452058dc1ebf11d57017a.tar.xz
mana-5a3932c59852d6492a8452058dc1ebf11d57017a.zip
Fixed setting full screen chekbox state
-rw-r--r--src/gui/setup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 0f3b2b1b..051f4a7c 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -85,7 +85,8 @@ Setup::Setup(gcn::Container *parent)
//TODO: load default settings
modesList->setSelected(1);
- fsCheckBox->setMarked(config.getValue("screen",0));
+ if(config.getValue("screen",0) == 1)
+ fsCheckBox->setMarked(true);
soundCheckBox->setMarked(config.getValue("sound",0));
}