summaryrefslogtreecommitdiff
path: root/src/gui/setup_video.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-13 19:10:50 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-13 21:20:33 +0300
commitfcf1da7a161c3e18d393a9b998effc6aa1c366b9 (patch)
tree5f92a8a168dd0748903cc90620a00c7c7bd29377 /src/gui/setup_video.cpp
parentcd0baf3217701134a8e61932fd14c39cec0cf242 (diff)
downloadplus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.gz
plus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.bz2
plus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.tar.xz
plus-fcf1da7a161c3e18d393a9b998effc6aa1c366b9.zip
fix code style.
Diffstat (limited to 'src/gui/setup_video.cpp')
-rw-r--r--src/gui/setup_video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp
index b04bf7681..b82b25f25 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(renderToIndex) / sizeof (int))
{
mOpenGLDropDown->setSelected(renderToIndex[val]);
}