UI/updater: Fix wrong parameter order for MessageBox

This commit is contained in:
Richard Stanway
2022-09-01 00:44:57 +02:00
parent 854d75919f
commit 31414d2d7a
+2 -2
View File
@@ -1868,9 +1868,9 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, LPWSTR lpCmdLine, int)
SYNCHRONIZE, false, L"OBSUpdaterRunningAsNonAdminUser");
if (hMutex) {
MessageBox(
nullptr, L"Updater Error",
nullptr,
L"OBS Studio Updater must be run as an administrator.",
MB_ICONWARNING);
L"Updater Error", MB_ICONWARNING);
return 2;
}