commit 48fd654a1d0e5e600c47898b7da9097a77c41fb8 parent 2842523aae8cbeec79f863099fb0886cdc162c60 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Jan 25 23:47:46 +0200 Oops Diffstat:
win32_thread.h | | | 2 | +- |
diff --git a/win32_thread.h b/win32_thread.h @@ -19,7 +19,7 @@ inline void thread_init( Thread * thread, ThreadCallback callback, void * data ) if( handle == NULL ) { FATAL( "CreateThread" ); } - if( CloseHandle( handle ) ) { + if( CloseHandle( handle ) == 0 ) { FATAL( "CloseHandle" ); } }