diff options
Diffstat (limited to 'src/winmain/qtmain_win.cpp')
-rw-r--r-- | src/winmain/qtmain_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winmain/qtmain_win.cpp b/src/winmain/qtmain_win.cpp index 845166f595..fc3828d4ac 100644 --- a/src/winmain/qtmain_win.cpp +++ b/src/winmain/qtmain_win.cpp @@ -109,7 +109,7 @@ int APIENTRY WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR /*cmdPara // If there exists an other instance of this application // it will be the owner of a mutex with the unique ID. - HANDLE mutex = CreateMutex(NULL, true, (LPCWSTR)uid.utf16()); + HANDLE mutex = CreateMutex(NULL, TRUE, (LPCWSTR)uid.utf16()); if (mutex && ERROR_ALREADY_EXISTS == GetLastError()) { CloseHandle(mutex); |