summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-04-18 22:14:11 +0200
committerGitHub <noreply@github.com>2023-04-18 22:14:11 +0200
commit2e7f0d002e1a57b9a2477e6f907e85538efb07b2 (patch)
tree5f60010291eff9ed9c35c8350ce5bb4b55422a56 /Source/Core/DolphinNoGUI/PlatformWin32.cpp
parent8a355dbbd7a37629c5844461bf1796a86f1510f6 (diff)
parenta5d06fde4b597d93750ba29bc2db83401fe431f7 (diff)
Merge pull request #11760 from Minty-Meeo/embracing-nullptr
Embrace nullptr over NULL and 0
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
index a34ace70ce..4b5e5aa1ef 100644
--- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp
+++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
@@ -62,12 +62,12 @@ bool PlatformWin32::RegisterRenderWindowClass()
wc.cbClsExtra = 0;
wc.cbWndExtra = 0;
wc.hInstance = GetModuleHandle(nullptr);
- wc.hIcon = LoadIcon(NULL, IDI_ICON1);
- wc.hCursor = LoadCursor(NULL, IDC_ARROW);
+ wc.hIcon = LoadIcon(nullptr, IDI_ICON1);
+ wc.hCursor = LoadCursor(nullptr, IDC_ARROW);
wc.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
- wc.lpszMenuName = NULL;
+ wc.lpszMenuName = nullptr;
wc.lpszClassName = WINDOW_CLASS_NAME;
- wc.hIconSm = LoadIcon(NULL, IDI_ICON1);
+ wc.hIconSm = LoadIcon(nullptr, IDI_ICON1);
if (!RegisterClassEx(&wc))
{