summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-12 16:44:38 -0700
committerIra Rice <irarice@gmail.com>2009-01-12 16:44:38 -0700
commit9eb240c821d75292ed02c64246d83558c8b84324 (patch)
tree4f920fae6ab77ef02fd736136ece8077a1eb585b /src/gui/setup_video.cpp
parent8e387c0a6992baa503797b6448bbccfc1d426447 (diff)
downloadMana-9eb240c821d75292ed02c64246d83558c8b84324.tar.gz
Mana-9eb240c821d75292ed02c64246d83558c8b84324.tar.bz2
Mana-9eb240c821d75292ed02c64246d83558c8b84324.tar.xz
Mana-9eb240c821d75292ed02c64246d83558c8b84324.zip
Updated the po files so that they shouldn't generate errors for us any
more, as well as a few more code style fixes. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index afc7b1b5..e424c43f 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -353,13 +353,12 @@ void Setup_Video::apply()
mSpeechBubbleEnabled = config.getValue("speechbubble", 1);
mNameEnabled = config.getValue("showownname", 0);
mOpacity = config.getValue("guialpha", 0.8);
- mOverlayDetail = (int)config.getValue("OverlayDetail", 2);
+ mOverlayDetail = (int) config.getValue("OverlayDetail", 2);
mOpenGLEnabled = config.getValue("opengl", 0);
}
-int
-Setup_Video::updateSlider(gcn::Slider *slider, gcn::TextField *field,
- const std::string &configName)
+int Setup_Video::updateSlider(gcn::Slider *slider, gcn::TextField *field,
+ const std::string &configName)
{
int value;
std::stringstream temp(field->getText());
@@ -538,8 +537,7 @@ void Setup_Video::action(const gcn::ActionEvent &event)
}
}
-void
-Setup_Video::keyPressed(gcn::KeyEvent &event)
+void Setup_Video::keyPressed(gcn::KeyEvent &event)
{
std::stringstream tempFps(mFpsField->getText());