mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
UI/updater: Fix wrong parameter order for MessageBox
This commit is contained in:
parent
854d75919f
commit
31414d2d7a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user