summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-08 17:53:01 +0000
committerglx <glx@openttd.org>2008-02-08 17:53:01 +0000
commite2de86f9517b9f593d5c5f7c6f5a68cb236ab777 (patch)
tree8a4c3b6ffc8f6e4ec69d37e7e8891ecde4a3d379 /src/settings_gui.cpp
parent731137678cc61fed69fe621d0146f07672934920 (diff)
downloadopenttd-e2de86f9517b9f593d5c5f7c6f5a68cb236ab777.tar.xz
(svn r12087) -Fix: MSVC warnings
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 939bee7cf..c835a3b06 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -557,7 +557,7 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
value = ((GDType*)&_opt_mod_temp.diff)[i];
DrawArrowButtons(5, y, 3,
- (diffic_d->clicked_button == i) ? 1 << diffic_d->clicked_increase : 0,
+ (diffic_d->clicked_button == i) ? 1 + !!diffic_d->clicked_increase : 0,
!(HasBit(disabled, i) || gsd->min == value),
!(HasBit(disabled, i) || gsd->max == value));