[04/13] msxml3: Use right COM invocation macro

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat Oct 11 16:58:19 CDT 2008


This patch is a no-op in binary code, but improves readability.
It also shows why macros are evil, as typechecking would have caught
this much earlier.
---
 dlls/msxml3/bsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/bsc.c b/dlls/msxml3/bsc.c
index bd29c31..5dc9d18 100644
--- a/dlls/msxml3/bsc.c
+++ b/dlls/msxml3/bsc.c
@@ -114,7 +114,7 @@ static HRESULT WINAPI bsc_OnStartBinding(
     TRACE("(%p)->(%x %p)\n", This, dwReserved, pib);
 
     This->binding = pib;
-    IBindStatusCallback_AddRef(pib);
+    IBinding_AddRef(pib);
 
     hr = CreateStreamOnHGlobal(NULL, TRUE, &This->memstream);
     if(FAILED(hr))
-- 
1.5.6.5




More information about the wine-patches mailing list