Commit bfbe3b5c authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard

Fixed ==/!= mismatch.

parent 71805365
...@@ -210,7 +210,7 @@ static int OSS_OpenDevice(unsigned req_access) ...@@ -210,7 +210,7 @@ static int OSS_OpenDevice(unsigned req_access)
WARN("Mismatch in access...\n"); WARN("Mismatch in access...\n");
return -1; return -1;
} }
if (GetCurrentThreadId() == OSS_OwnerThreadID) if (GetCurrentThreadId() != OSS_OwnerThreadID)
{ {
WARN("Another thread is trying to access audio...\n"); WARN("Another thread is trying to access audio...\n");
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment