From bfbe3b5c62e86183d29f706752de36b70a4f3f7e Mon Sep 17 00:00:00 2001
From: Andreas Mohr <andi@rhlx01.fht-esslingen.de>
Date: Tue, 29 Jan 2002 02:56:50 +0000
Subject: [PATCH] Fixed ==/!= mismatch.

---
 dlls/winmm/wineoss/audio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winmm/wineoss/audio.c b/dlls/winmm/wineoss/audio.c
index a04f542f255..5656ef8edfa 100644
--- a/dlls/winmm/wineoss/audio.c
+++ b/dlls/winmm/wineoss/audio.c
@@ -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;
-- 
GitLab