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, 1 insertions, 3 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index d8676aa17..584aa6a4b 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -1140,8 +1140,6 @@ void ShowCompanyLeagueTable()
/** Widget numbers of the performance rating details window. */
enum PerformanceRatingDetailsWidgets {
- PRW_BACKGROUND,
-
PRW_SCORE_FIRST,
PRW_SCORE_LAST = PRW_SCORE_FIRST + (SCORE_END - SCORE_BEGIN) - 1,
@@ -1456,7 +1454,7 @@ static const NWidgetPart _nested_performance_rating_detail_widgets[] = {
NWidget(WWT_CLOSEBOX, COLOUR_GREY),
NWidget(WWT_CAPTION, COLOUR_GREY), SetDataTip(STR_PERFORMANCE_DETAIL, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS),
EndContainer(),
- NWidget(WWT_PANEL, COLOUR_GREY, PRW_BACKGROUND),
+ NWidget(WWT_PANEL, COLOUR_GREY),
NWidgetFunction(MakeCompanyButtonRows), SetPadding(0, 1, 1, 2),
EndContainer(),
NWidgetFunction(MakePerformanceDetailPanels),