Module: wine Branch: master Commit: 9c79ba8a04d0a7a1721a2090c31d6e7629efd746 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c79ba8a04d0a7a1721a2090c3...
Author: Andrew Eikum aeikum@codeweavers.com Date: Thu Apr 5 13:00:16 2012 -0500
dmusic: Check correct return code.
---
dlls/dmusic/dmusic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dmusic/dmusic.c b/dlls/dmusic/dmusic.c index ba12f98..ef3143f 100644 --- a/dlls/dmusic/dmusic.c +++ b/dlls/dmusic/dmusic.c @@ -142,7 +142,7 @@ static HRESULT WINAPI IDirectMusic8Impl_EnumPort(LPDIRECTMUSIC8 iface, DWORD ind HRESULT hr; hr = CoCreateInstance(&CLSID_DirectMusicSynth, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectMusicSynth8, (void**)&synth); if (SUCCEEDED(hr)) - IDirectMusicSynth8_GetPortCaps(synth, port_caps); + hr = IDirectMusicSynth8_GetPortCaps(synth, port_caps); if (SUCCEEDED(hr)) TRACE("Enumerating port: %s\n", debugstr_w(port_caps->wszDescription)); if (synth)