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

This commit is contained in:
Andrew Eikum 2012-03-19 07:35:17 -05:00 committed by Alexandre Julliard
parent 760a318882
commit 5e522a1d1c
1 changed files with 1 additions and 1 deletions

View File

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