[PATCH] msctf: Return proper pointer to interface
Nikolay Sivov
nsivov at codeweavers.com
Sun Feb 5 08:20:35 CST 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/msctf/msctf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c
index 1982e2cafc..a19eaa1d33 100644
--- a/dlls/msctf/msctf.c
+++ b/dlls/msctf/msctf.c
@@ -180,7 +180,7 @@ static HRESULT ClassFactory_Constructor(LPFNCONSTRUCTOR ctor, LPVOID *ppvOut)
This->IClassFactory_iface.lpVtbl = &ClassFactoryVtbl;
This->ref = 1;
This->ctor = ctor;
- *ppvOut = This;
+ *ppvOut = &This->IClassFactory_iface;
TRACE("Created class factory %p\n", This);
return S_OK;
}
--
2.11.0
More information about the wine-patches
mailing list