UI/updater: Fix wrong parameter order for MessageBox

master
Richard Stanway 2022-09-01 00:42:47 +02:00
parent 854d75919f
commit 31414d2d7a
No known key found for this signature in database
GPG Key ID: 4F96FCA24BCE7BA1
1 changed files with 2 additions and 2 deletions

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;
}