diff options
Diffstat (limited to 'win32.c')
-rw-r--r-- | win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2251,7 +2251,7 @@ bool CreateOTTDThread(void *func, void *param) hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, param, 0, &dwThreadId); SetThreadPriority(hThread, THREAD_PRIORITY_BELOW_NORMAL); - return (hThread == NULL) ? false : true; + return hThread != NULL; } void CloseOTTDThread(void) @@ -2264,4 +2264,4 @@ void JoinOTTDThread(void) if (hThread == NULL) return; WaitForSingleObject(hThread, INFINITE); -}
\ No newline at end of file +} |