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:
parent
349b61cc98
commit
7d14318c18
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue