summaryrefslogtreecommitdiff
path: root/Source/Core/WinUpdater/Main.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/WinUpdater/Main.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/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;
}