diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-19 20:59:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-19 20:59:49 +0300 |
commit | 378441b559615cc96150e64137ae2ce02d23d2f2 (patch) | |
tree | 10ceb5467000747f3b1d6f41c96ca5a595f57d4f /src/gui/setup_video.cpp | |
parent | 11209f8ab3bfc738f0249e0cdfe6400f73cb0b85 (diff) | |
download | plus-378441b559615cc96150e64137ae2ce02d23d2f2.tar.gz plus-378441b559615cc96150e64137ae2ce02d23d2f2.tar.bz2 plus-378441b559615cc96150e64137ae2ce02d23d2f2.tar.xz plus-378441b559615cc96150e64137ae2ce02d23d2f2.zip |
fix some compilation issues in different platforms.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r-- | src/gui/setup_video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index b82b25f25..4c285a879 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -565,7 +565,7 @@ void Setup_Video::action(const gcn::ActionEvent &event) { const int val = test->getConfig().getValueInt("opengl", -1); if (val >= 0 && static_cast<unsigned int>(val) - < sizeof(renderToIndex) / sizeof (int)) + < sizeof(renderToIndex) / sizeof(int)) { mOpenGLDropDown->setSelected(renderToIndex[val]); } |