summaryrefslogtreecommitdiff
path: root/src/highscore_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/highscore_gui.cpp')
-rw-r--r--src/highscore_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/highscore_gui.cpp b/src/highscore_gui.cpp
index d6ea8c0c1..b0a93aac9 100644
--- a/src/highscore_gui.cpp
+++ b/src/highscore_gui.cpp
@@ -135,7 +135,7 @@ struct EndGameWindow : EndGameHighScoreBaseWindow {
Point pt = this->GetTopLeft(640, 480);
const Company *c = Company::GetIfValid(_local_company);
- if (c == NULL) return;
+ if (c == nullptr) return;
/* We need to get performance from last year because the image is shown
* at the start of the new year when these things have already been copied */
@@ -210,14 +210,14 @@ static const NWidgetPart _nested_highscore_widgets[] = {
};
static WindowDesc _highscore_desc(
- WDP_MANUAL, NULL, 0, 0,
+ WDP_MANUAL, nullptr, 0, 0,
WC_HIGHSCORE, WC_NONE,
0,
_nested_highscore_widgets, lengthof(_nested_highscore_widgets)
);
static WindowDesc _endgame_desc(
- WDP_MANUAL, NULL, 0, 0,
+ WDP_MANUAL, nullptr, 0, 0,
WC_ENDSCREEN, WC_NONE,
0,
_nested_highscore_widgets, lengthof(_nested_highscore_widgets)