summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index adb111b9d..c932afab2 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -546,7 +546,8 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
const GameSettingData *gsd = &_game_setting_info[i];
value = ((GDType*)&_opt_mod_temp.diff)[i];
- DrawArrowButtons(5, y, 3, HasBit(_difficulty_click_a, i) | HasBit(_difficulty_click_b, i) << 1,
+ DrawArrowButtons(5, y, 3,
+ !!HasBit(_difficulty_click_a, i) | !!HasBit(_difficulty_click_b, i) << 1,
!(HasBit(disabled, i) || gsd->min == value),
!(HasBit(disabled, i) || gsd->max == value));