This commit is contained in:
Glenn Maynard
2005-05-09 09:24:04 +00:00
parent fb1d69add3
commit e33ffbe777
+1 -1
View File
@@ -26,7 +26,7 @@ WorkerThread::~WorkerThread()
void WorkerThread::SetTimeout( float fSeconds ) void WorkerThread::SetTimeout( float fSeconds )
{ {
m_WorkerEvent.Lock(); m_WorkerEvent.Lock();
if( fSeconds == -1 ) if( fSeconds < 0 )
m_Timeout.SetZero(); m_Timeout.SetZero();
else else
{ {