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 | 3ae50673a3e1e64a6038c53570c5ee168073e038 (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/settings_gui.cpp | |
parent | 795174edf13e99cdef7eda73fbc088e2b06df051 (diff) | |
download | openttd-3ae50673a3e1e64a6038c53570c5ee168073e038.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 |