Commit 7d14318c authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

dmime: Fix misplaced parentheses.

parent 349b61cc
...@@ -320,7 +320,7 @@ static HRESULT WINAPI lyrics_IPersistStream_Load(IPersistStream *iface, IStream ...@@ -320,7 +320,7 @@ static HRESULT WINAPI lyrics_IPersistStream_Load(IPersistStream *iface, IStream
if (!stream) if (!stream)
return E_POINTER; return E_POINTER;
if ((hr = stream_get_chunk(stream, &chunk) != S_OK)) if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
return hr; return hr;
if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_LYRICSTRACK_LIST) if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_LYRICSTRACK_LIST)
......
...@@ -339,7 +339,7 @@ static HRESULT WINAPI tempo_IPersistStream_Load(IPersistStream *iface, IStream * ...@@ -339,7 +339,7 @@ static HRESULT WINAPI tempo_IPersistStream_Load(IPersistStream *iface, IStream *
if (!stream) if (!stream)
return E_POINTER; return E_POINTER;
if ((hr = stream_get_chunk(stream, &chunk) != S_OK)) if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
return hr; return hr;
if (chunk.id != DMUS_FOURCC_TEMPO_TRACK) if (chunk.id != DMUS_FOURCC_TEMPO_TRACK)
return DMUS_E_UNSUPPORTED_STREAM; return DMUS_E_UNSUPPORTED_STREAM;
......
...@@ -262,7 +262,7 @@ static HRESULT WINAPI time_IPersistStream_Load(IPersistStream *iface, IStream *s ...@@ -262,7 +262,7 @@ static HRESULT WINAPI time_IPersistStream_Load(IPersistStream *iface, IStream *s
if (!stream) if (!stream)
return E_POINTER; return E_POINTER;
if ((hr = stream_get_chunk(stream, &chunk) != S_OK)) if ((hr = stream_get_chunk(stream, &chunk)) != S_OK)
return hr; return hr;
if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_TIMESIGTRACK_LIST) if (chunk.id == FOURCC_LIST && chunk.type == DMUS_FOURCC_TIMESIGTRACK_LIST)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment