msctf: Avoid implicit enum casts.
This commit is contained in:
parent
1ee2681394
commit
0d554fee41
2 changed files with 2 additions and 2 deletions
|
@ -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 ++;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue