diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/settings_gui.cpp | |
parent | b8885630aa9942ea924ffb6eeabc266140485435 (diff) | |
download | openttd-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.cpp | 4 |
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 |