diff options
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index d6289bbc..05543092 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -141,7 +141,7 @@ Setup_Video::Setup_Video(): mModeList->setSelected(-1); mAlphaSlider->setValue(mOpacity); - + mFpsField->setText(toString(mFps)); mFpsField->setEnabled(mFps > 0); mFpsSlider->setValue(mFps); @@ -213,7 +213,7 @@ void Setup_Video::apply() new OkDialog("Changing OpenGL", "Applying change to OpenGL requires restart."); } - + // FPS change config.setValue("fpslimit", mFps); @@ -273,7 +273,7 @@ void Setup_Video::action(const std::string &event) void Setup_Video::keyPress(const gcn::Key &key) { std::stringstream tempFps(mFpsField->getText()); - + if (tempFps >> mFps) { if (mFps < 10) |