summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp4
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;