summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
authorget <45425365+Minty-Meeo@users.noreply.github.com>2023-04-14 23:55:53 -0500
committerget <45425365+Minty-Meeo@users.noreply.github.com>2023-04-15 16:07:05 -0500
commita5d06fde4b597d93750ba29bc2db83401fe431f7 (patch)
tree7d79d61f9b7cd76c9d600cd4c8ecca11875f4a32 /Source/Core/DolphinNoGUI/PlatformWin32.cpp
parentae18aa0639bdf2d51c8bf738bd7f794d89aa22e4 (diff)
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))
{