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/graph_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/graph_gui.cpp')
-rw-r--r-- | src/graph_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp index fb1105e62..f7e267056 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -281,7 +281,7 @@ static void GraphLegendWndProc(Window *w, WindowEvent *e) 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 @@ static void CargoPaymentRatesWndProc(Window *w, WindowEvent *e) 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); } |