summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 13:35:54 +0000
commiteeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch)
tree51f15a2e52f58ea4446467086c5441cebe4324bf /src/settings_gui.cpp
parentb8885630aa9942ea924ffb6eeabc266140485435 (diff)
downloadopenttd-eeaa348f8bfafae1a6e56b857a97d9d23577dcac.tar.xz
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index abe7cc189..40ec04426 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -537,12 +537,12 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
if (x >= 10) {
// Increase button clicked
val = min(val + info->step, info->max);
- SETBIT(_difficulty_click_b, btn);
+ SetBit(_difficulty_click_b, btn);
} else {
// Decrease button clicked
val -= info->step;
val = max(val, info->min);
- SETBIT(_difficulty_click_a, btn);
+ SetBit(_difficulty_click_a, btn);
}
// save value in temporary variable