From c217ab51685e187f411f497b3d74e9da58ddcd24 Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Dec 2013 18:43:54 +0000 Subject: [PATCH] fixed comparison of thread handle to Null point rather than null handle --- src/OSSupport/IsThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OSSupport/IsThread.cpp b/src/OSSupport/IsThread.cpp index 4da9f9949..7eb114a82 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -124,7 +124,7 @@ void cIsThread::Stop(void) bool cIsThread::Wait(void) { - if (m_Handle == NULL) + if (m_Handle == NULL_HANDLE) { return true; }