summaryrefslogtreecommitdiff
path: root/Source/Core/WinUpdater/Main.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/WinUpdater/Main.cpp
parentae18aa0639bdf2d51c8bf738bd7f794d89aa22e4 (diff)
Embrace nullptr over NULL and 0
Diffstat (limited to 'Source/Core/WinUpdater/Main.cpp')
-rw-r--r--Source/Core/WinUpdater/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/WinUpdater/Main.cpp b/Source/Core/WinUpdater/Main.cpp
index 6b7fd801ef..66fc521671 100644
--- a/Source/Core/WinUpdater/Main.cpp
+++ b/Source/Core/WinUpdater/Main.cpp
@@ -58,7 +58,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine
}
// Relaunch the updater as administrator
- ShellExecuteW(nullptr, L"runas", path->c_str(), pCmdLine, NULL, SW_SHOW);
+ ShellExecuteW(nullptr, L"runas", path->c_str(), pCmdLine, nullptr, SW_SHOW);
return 0;
}