Nikolay Sivov : msctf: Return proper pointer to interface.
Module: wine Branch: master Commit: 7bcca927bc2d47fc9e6aec83221c996fb46cc89d URL: http://source.winehq.org/git/wine.git/?a=commit;h=7bcca927bc2d47fc9e6aec8322... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Sun Feb 5 17:20:35 2017 +0300 msctf: Return proper pointer to interface. Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 1982e2c..a19eaa1 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; }
participants (1)
-
Alexandre Julliard