msctf: Correct order of arguments to OnSetFocus sink call.

This commit is contained in:
Aric Stewart 2009-04-10 11:26:45 -05:00 committed by Alexandre Julliard
parent 67a11c60af
commit 01a00b53fb

View file

@ -246,7 +246,7 @@ static HRESULT WINAPI ThreadMgr_SetFocus( ITfThreadMgr* iface, ITfDocumentMgr *p
if (!pdimFocus || FAILED(IUnknown_QueryInterface(pdimFocus,&IID_ITfDocumentMgr,(LPVOID*) &check)))
return E_INVALIDARG;
ITfThreadMgrEventSink_OnSetFocus((ITfThreadMgrEventSink*)&This->ThreadMgrEventSinkVtbl, This->focus, check);
ITfThreadMgrEventSink_OnSetFocus((ITfThreadMgrEventSink*)&This->ThreadMgrEventSinkVtbl, check, This->focus);
if (This->focus)
ITfDocumentMgr_Release(This->focus);