diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 14:11:19 +0000 |
commit | a91c2a4c395fc532ada8a097ff05b41d69d7ee3d (patch) | |
tree | 4c9dc0c05cd700da1675c02c334dcc834adf512c /src/station_gui.cpp | |
parent | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (diff) | |
download | openttd-a91c2a4c395fc532ada8a097ff05b41d69d7ee3d.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.cpp | 4 |
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++) { |