summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
committerskidd13 <skidd13@openttd.org>2007-11-20 14:11:19 +0000
commitf92f3aec06203081ca8fadcbc5fb652e92bf8e30 (patch)
tree4c9dc0c05cd700da1675c02c334dcc834adf512c /src/station_gui.cpp
parent3ae50673a3e1e64a6038c53570c5ee168073e038 (diff)
downloadopenttd-f92f3aec06203081ca8fadcbc5fb652e92bf8e30.tar.xz
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index e92529375..3c8d9119c 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -400,7 +400,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
case STATIONLIST_WIDGET_AIRPLANE:
case STATIONLIST_WIDGET_SHIP:
if (_ctrl_pressed) {
- TOGGLEBIT(facilities, e->we.click.widget - STATIONLIST_WIDGET_TRAIN);
+ ToggleBit(facilities, e->we.click.widget - STATIONLIST_WIDGET_TRAIN);
ToggleWidgetLoweredState(w, e->we.click.widget);
} else {
for (uint i = 0; facilities != 0; i++, facilities >>= 1) {
@@ -487,7 +487,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
}
if (_ctrl_pressed) {
- TOGGLEBIT(_cargo_filter, c);
+ ToggleBit(_cargo_filter, c);
ToggleWidgetLoweredState(w, e->we.click.widget);
} else {
for (uint i = STATIONLIST_WIDGET_CARGOSTART; i < w->widget_count; i++) {