dmime: Fix misplaced parentheses.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2021-04-21 13:27:50 +03:00 committed by Alexandre Julliard
parent 349b61cc98
commit 7d14318c18
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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;

View File

@ -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)