msctf: Fix spelling of a private struct's field name.

Aric Stewart aric at codeweavers.com
Wed Apr 13 06:56:03 CDT 2016


Signed-off-by: Aric Stewart <aric at codeweavers.com>

On 4/13/16 4:30 AM, Francois Gouget wrote:
> Signed-off-by: Francois Gouget <fgouget at free.fr>
> ---
>   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-patches mailing list