summaryrefslogtreecommitdiffstats
path: root/src/winmain/qtmain_win.cpp
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2012-09-06 10:54:50 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-07 06:25:23 +0200
commitb77b5cc5be5d7ca00c6bf6c4b83585cbbf3d91fd (patch)
tree8a2f4c0f2901b39c6f356311a3f814588b6481e3 /src/winmain/qtmain_win.cpp
parent23951b38d4d4e2134a0caca26d12963251fb8e92 (diff)
Revert "Use true and false in preference to TRUE and FALSE"
Even though I really think the change was the right thing to do, it seems like Windows people don't like this change because of some Windows Data Types specific rules. This reverts parts of the commit 56d5c909af6473be64a1ae487b45bd444a9a8553. Change-Id: I2c67d9b1bab36fc63937ef386aef56d2a4472a04 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/winmain/qtmain_win.cpp')
-rw-r--r--src/winmain/qtmain_win.cpp2
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);