diff options
Diffstat (limited to 'src/core/miranda.cpp')
-rw-r--r-- | src/core/miranda.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp index 8ce9c0b0be..3ed03f8a2c 100644 --- a/src/core/miranda.cpp +++ b/src/core/miranda.cpp @@ -368,7 +368,7 @@ void* GetCurrentThreadEntryPoint() if(NtQueryInformationThread == NULL) return 0;
hCurrentProcess = GetCurrentProcess();
- if(!DuplicateHandle(hCurrentProcess, GetCurrentThread(), hCurrentProcess, &hDupHandle, THREAD_QUERY_INFORMATION, FALSE, 0)){
+ if(!DuplicateHandle(hCurrentProcess, GetCurrentThread(), hCurrentProcess, &hDupHandle, THREAD_QUERY_INFORMATION, FALSE, 0)) {
SetLastError(ERROR_ACCESS_DENIED);
return NULL;
}
|