Commit 5e522a1d authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

dmloader: Don't claim partial success when loading fails.

parent 760a3188
......@@ -304,7 +304,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR
result = IPersistStream_Load (pPersistStream, pStream);
if (result != S_OK) {
WARN(": failed to (completely) load object (%s)\n", debugstr_dmreturn(result));
ret = DMUS_S_PARTIALLOAD /*result*/;
return result;
}
/* get descriptor */
DM_STRUCT_INIT(&GotDesc);
......
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