summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index bcc360d14..8b53e73b7 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -322,7 +322,7 @@ void Setup_Theme::action(const gcn::ActionEvent &event)
}
else if (event.getId() == ACTION_LANG)
{
- int id = mLangDropDown->getSelected();
+ const int id = mLangDropDown->getSelected();
if (id < 0 || id >= langs_count)
mLang = "";
else