summaryrefslogtreecommitdiff
path: root/src/station_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/station_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/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 023cc400a..e92529375 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -406,7 +406,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
for (uint i = 0; facilities != 0; i++, facilities >>= 1) {
if (HasBit(facilities, 0)) RaiseWindowWidget(w, i + STATIONLIST_WIDGET_TRAIN);
}
- SETBIT(facilities, e->we.click.widget - STATIONLIST_WIDGET_TRAIN);
+ SetBit(facilities, e->we.click.widget - STATIONLIST_WIDGET_TRAIN);
LowerWindowWidget(w, e->we.click.widget);
}
SetWindowWidgetLoweredState(w, STATIONLIST_WIDGET_FACILALL, facilities == (FACIL_TRAIN | FACIL_TRUCK_STOP | FACIL_BUS_STOP | FACIL_AIRPORT | FACIL_DOCK));
@@ -498,7 +498,7 @@ static void PlayerStationsWndProc(Window *w, WindowEvent *e)
_cargo_filter = 0;
include_empty = false;
- SETBIT(_cargo_filter, c);
+ SetBit(_cargo_filter, c);
LowerWindowWidget(w, e->we.click.widget);
}
sl->flags |= SL_REBUILD;