Francois Gouget : msctf: Fix spelling of a private struct's field name.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Apr 13 11:51:48 CDT 2016
Module: wine
Branch: master
Commit: 0ebb3f2fcc4ffbd29606a55e2a074fdc05d19ed3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0ebb3f2fcc4ffbd29606a55e2a074fdc05d19ed3
Author: Francois Gouget <fgouget at free.fr>
Date: Wed Apr 13 11:30:37 2016 +0200
msctf: Fix spelling of a private struct's field name.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msctf/threadmgr.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/dlls/msctf/threadmgr.c b/dlls/msctf/threadmgr.c
index 3f0e7f6..1e0ec4d 100644
--- a/dlls/msctf/threadmgr.c
+++ b/dlls/msctf/threadmgr.c
@@ -99,8 +99,8 @@ typedef struct tagACLMulti {
ITfDocumentMgr *focus;
LONG activationCount;
- ITfKeyEventSink *forgroundKeyEventSink;
- CLSID forgroundTextService;
+ ITfKeyEventSink *foregroundKeyEventSink;
+ CLSID foregroundTextService;
struct list CurrentPreservedKeys;
struct list CreatedDocumentMgrs;
@@ -767,15 +767,15 @@ static HRESULT WINAPI KeystrokeMgr_AdviseKeyEventSink(ITfKeystrokeMgr *iface,
if (fForeground)
{
- if (This->forgroundKeyEventSink)
+ if (This->foregroundKeyEventSink)
{
- ITfKeyEventSink_OnSetFocus(This->forgroundKeyEventSink, FALSE);
- ITfKeyEventSink_Release(This->forgroundKeyEventSink);
+ ITfKeyEventSink_OnSetFocus(This->foregroundKeyEventSink, FALSE);
+ ITfKeyEventSink_Release(This->foregroundKeyEventSink);
}
ITfKeyEventSink_AddRef(check);
ITfKeyEventSink_OnSetFocus(check, TRUE);
- This->forgroundKeyEventSink = check;
- This->forgroundTextService = textservice;
+ This->foregroundKeyEventSink = check;
+ This->foregroundTextService = textservice;
}
return S_OK;
}
@@ -803,11 +803,11 @@ static HRESULT WINAPI KeystrokeMgr_UnadviseKeyEventSink(ITfKeystrokeMgr *iface,
set_textservice_sink(tid, &IID_ITfKeyEventSink, NULL);
ITfKeyEventSink_Release(check);
- if (This->forgroundKeyEventSink == check)
+ if (This->foregroundKeyEventSink == check)
{
- ITfKeyEventSink_Release(This->forgroundKeyEventSink);
- This->forgroundKeyEventSink = NULL;
- This->forgroundTextService = GUID_NULL;
+ ITfKeyEventSink_Release(This->foregroundKeyEventSink);
+ This->foregroundKeyEventSink = NULL;
+ This->foregroundTextService = GUID_NULL;
}
return S_OK;
}
@@ -820,10 +820,10 @@ static HRESULT WINAPI KeystrokeMgr_GetForeground(ITfKeystrokeMgr *iface,
if (!pclsid)
return E_INVALIDARG;
- if (IsEqualCLSID(&This->forgroundTextService,&GUID_NULL))
+ if (IsEqualCLSID(&This->foregroundTextService,&GUID_NULL))
return S_FALSE;
- *pclsid = This->forgroundTextService;
+ *pclsid = This->foregroundTextService;
return S_OK;
}
More information about the wine-cvs
mailing list