diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-20 13:35:54 +0000 |
commit | eeaa348f8bfafae1a6e56b857a97d9d23577dcac (patch) | |
tree | 51f15a2e52f58ea4446467086c5441cebe4324bf /src/graph_gui.cpp | |
parent | b8885630aa9942ea924ffb6eeabc266140485435 (diff) | |
download | openttd-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/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 4caf34b2d..fb1105e62 100644 --- a/src/graph_gui.cpp +++ b/src/graph_gui.cpp @@ -260,7 +260,7 @@ static void GraphLegendWndProc(Window *w, WindowEvent *e) FOR_ALL_PLAYERS(p) { if (p->is_active) continue; - SETBIT(_legend_excluded_players, p->index); + SetBit(_legend_excluded_players, p->index); RaiseWindowWidget(w, p->index + 3); } @@ -334,7 +334,7 @@ static void SetupGraphDrawerForPlayers(GraphDrawer *gd) /* Exclude the players which aren't valid */ FOR_ALL_PLAYERS(p) { - if (!p->is_active) SETBIT(excluded_players, p->index); + if (!p->is_active) SetBit(excluded_players, p->index); } gd->excluded_data = excluded_players; gd->num_vert_lines = 24; |