summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorRubidium <rubidium@openttd.org>2021-06-16 21:12:08 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-06-17 16:18:30 +0200
commitf904aef176b7bde38f27cc9b4f23c55dc13d2ce5 (patch)
tree2ea8cfd92faf9786275824cf1a5c5be927283601 /src/main_gui.cpp
parenta9774f3e341812d43427b9e0166b0def08202477 (diff)
downloadopenttd-f904aef176b7bde38f27cc9b4f23c55dc13d2ce5.tar.xz
Cleanup: use nullptr instead of 0 or NULL
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 559040f37..79960d51b 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -309,7 +309,7 @@ struct MainWindow : Window
case GHK_REFRESH_SCREEN: MarkWholeScreenDirty(); break;
case GHK_CRASH: // Crash the game
- *(volatile byte *)0 = 0;
+ *(volatile byte *)nullptr = 0;
break;
case GHK_MONEY: // Gimme money