Skip to content
Snippets Groups Projects
Commit bfbe3b5c authored by Andreas Mohr's avatar Andreas Mohr Committed by Alexandre Julliard
Browse files

Fixed ==/!= mismatch.

parent 71805365
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment