Andrey Gusev : dmime: Fix misplaced parentheses.

Alexandre Julliard julliard at winehq.org
Wed Apr 21 15:57:54 CDT 2021


Module: wine
Branch: master
Commit: 7d14318c1862a96ab1a3357c64f3e47e7b6c0f2c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7d14318c1862a96ab1a3357c64f3e47e7b6c0f2c

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Wed Apr 21 13:27:50 2021 +0300

dmime: Fix misplaced parentheses.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dmime/lyricstrack.c  | 2 +-
 dlls/dmime/tempotrack.c   | 2 +-
 dlls/dmime/timesigtrack.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/dmime/lyricstrack.c b/dlls/dmime/lyricstrack.c
index b45041ca818..b2ce3e0a4c1 100644
--- a/dlls/dmime/lyricstrack.c
+++ b/dlls/dmime/lyricstrack.c
@@ -320,7 +320,7 @@ static HRESULT WINAPI lyrics_IPersistStream_Load(IPersistStream *iface, IStream
     if (!stream)
         return E_POINTER;
 
-    if ((hr = stream_get_chunk(stream, &chunk) != S_OK))
+    if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
         return hr;
 
     if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_LYRICSTRACK_LIST)
diff --git a/dlls/dmime/tempotrack.c b/dlls/dmime/tempotrack.c
index 9d25ccc298c..57931bf1e56 100644
--- a/dlls/dmime/tempotrack.c
+++ b/dlls/dmime/tempotrack.c
@@ -339,7 +339,7 @@ static HRESULT WINAPI tempo_IPersistStream_Load(IPersistStream *iface, IStream *
     if (!stream)
         return E_POINTER;
 
-    if ((hr = stream_get_chunk(stream, &chunk) != S_OK))
+    if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
         return hr;
     if (chunk.id != DMUS_FOURCC_TEMPO_TRACK)
         return DMUS_E_UNSUPPORTED_STREAM;
diff --git a/dlls/dmime/timesigtrack.c b/dlls/dmime/timesigtrack.c
index 30432378cfa..c34049beb18 100644
--- a/dlls/dmime/timesigtrack.c
+++ b/dlls/dmime/timesigtrack.c
@@ -262,7 +262,7 @@ static HRESULT WINAPI time_IPersistStream_Load(IPersistStream *iface, IStream *s
     if (!stream)
         return E_POINTER;
 
-    if ((hr = stream_get_chunk(stream, &chunk) != S_OK))
+    if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
         return hr;
 
     if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_TIMESIGTRACK_LIST)




More information about the wine-cvs mailing list