summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-05-05 16:21:32 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-05-05 16:21:32 +0000
commit6c0e78de6eb137e75473e056eec238cd31b9e901 (patch)
tree1fd9fa2a7a214485b00792aacb82953043a53643 /src/gui/setup_video.cpp
parentb344f63a95e236ffd062608dd5a320a542946d75 (diff)
downloadmana-6c0e78de6eb137e75473e056eec238cd31b9e901.tar.gz
mana-6c0e78de6eb137e75473e056eec238cd31b9e901.tar.bz2
mana-6c0e78de6eb137e75473e056eec238cd31b9e901.tar.xz
mana-6c0e78de6eb137e75473e056eec238cd31b9e901.zip
Fixed some numeric conversions.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index cf50b98c..d6289bbc 100644
--- a/src/gui/setup_video.cpp
+++ b/src/gui/setup_video.cpp
@@ -250,14 +250,14 @@ void Setup_Video::action(const std::string &event)
}
else if (event == "fpslimitslider")
{
- mFps = mFpsSlider->getValue();
+ mFps = (int)mFpsSlider->getValue();
mFpsField->setText(toString(mFps));
}
else if (event == "fpslimitcheckbox")
{
if (mFpsCheckBox->isMarked())
{
- mFps = mFpsSlider->getValue();
+ mFps = (int)mFpsSlider->getValue();
}
else
{