From: Jacek Caban jacek@codeweavers.com
--- dlls/msctf/context.c | 2 +- dlls/msctf/range.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/context.c b/dlls/msctf/context.c index 6280e8f521c..2a7feafae1e 100644 --- a/dlls/msctf/context.c +++ b/dlls/msctf/context.c @@ -305,7 +305,7 @@ static HRESULT WINAPI Context_GetSelection (ITfContext *iface, return TF_E_NOLOCK; else if (SUCCEEDED(hr)) { - pSelection[totalFetched].style.ase = acps.style.ase; + pSelection[totalFetched].style.ase = (TfActiveSelEnd)acps.style.ase; pSelection[totalFetched].style.fInterimChar = acps.style.fInterimChar; Range_Constructor(iface, acps.acpStart, acps.acpEnd, &pSelection[totalFetched].range); totalFetched ++; diff --git a/dlls/msctf/range.c b/dlls/msctf/range.c index c42d91d1682..413cf91c185 100644 --- a/dlls/msctf/range.c +++ b/dlls/msctf/range.c @@ -362,7 +362,7 @@ HRESULT TF_SELECTION_to_TS_SELECTION_ACP(const TF_SELECTION *tf, TS_SELECTION_AC
tsAcp->acpStart = This->anchorStart; tsAcp->acpEnd = This->anchorEnd; - tsAcp->style.ase = tf->style.ase; + tsAcp->style.ase = (TsActiveSelEnd)tf->style.ase; tsAcp->style.fInterimChar = tf->style.fInterimChar; return S_OK; }