diff src/station_gui.cpp @ 7932:712f252f0d4d draft

(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
author skidd13 <skidd13@openttd.org>
date Tue, 20 Nov 2007 14:11:19 +0000
parents 44ff7a6d801f
children d109780d515b
line wrap: on
line diff
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -400,7 +400,7 @@
 				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 @@
 						}
 
 						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++) {