Commit 0cb208ce authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmusic: Avoid swallowing collection Load failures.

parent 150b8dd0
......@@ -331,7 +331,9 @@ static HRESULT WINAPI collection_stream_Load(IPersistStream *iface, IStream *str
}
}
if (SUCCEEDED(hr) && TRACE_ON(dmusic))
if (FAILED(hr)) return hr;
if (TRACE_ON(dmusic))
{
struct instrument_entry *entry;
int i = 0;
......
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