Fixed ==/!= mismatch.

This commit is contained in:
Andreas Mohr 2002-01-29 02:56:50 +00:00 committed by Alexandre Julliard
parent 7180536524
commit bfbe3b5c62
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ static int OSS_OpenDevice(unsigned req_access)
WARN("Mismatch in access...\n");
return -1;
}
if (GetCurrentThreadId() == OSS_OwnerThreadID)
if (GetCurrentThreadId() != OSS_OwnerThreadID)
{
WARN("Another thread is trying to access audio...\n");
return -1;