From fcf1da7a161c3e18d393a9b998effc6aa1c366b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 13 Sep 2013 19:10:50 +0300 Subject: fix code style. --- src/gui/setup_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/setup_video.cpp') 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(val) - < sizeof(renderToIndex)) + < sizeof(renderToIndex) / sizeof (int)) { mOpenGLDropDown->setSelected(renderToIndex[val]); } -- cgit v1.2.3-70-g09d2