diff src/graph_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 (2007-11-20)
parents 44ff7a6d801f
children 38bb7c45688f
line wrap: on
line diff
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -281,7 +281,7 @@
 		case WE_CLICK:
 			if (!IS_INT_INSIDE(e->we.click.widget, 3, 11)) return;
 
-			TOGGLEBIT(_legend_excluded_players, e->we.click.widget - 3);
+			ToggleBit(_legend_excluded_players, e->we.click.widget - 3);
 			ToggleWidgetLoweredState(w, e->we.click.widget);
 			SetWindowDirty(w);
 			InvalidateWindow(WC_INCOME_GRAPH, 0);
@@ -760,7 +760,7 @@
 
 		case WE_CLICK:
 			if (e->we.click.widget >= 3) {
-				TOGGLEBIT(_legend_excluded_cargo, e->we.click.widget - 3);
+				ToggleBit(_legend_excluded_cargo, e->we.click.widget - 3);
 				ToggleWidgetLoweredState(w, e->we.click.widget);
 				SetWindowDirty(w);
 			}