usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX.
This commit is contained in:
parent
6ff842fddb
commit
7acd2ba264
|
@ -1117,12 +1117,7 @@ HRESULT WINAPI ScriptCPtoX(int iCP,
|
|||
rtl = TRUE;
|
||||
|
||||
if (fTrailing)
|
||||
{
|
||||
if (rtl)
|
||||
iCP--;
|
||||
else
|
||||
iCP++;
|
||||
}
|
||||
iCP++;
|
||||
|
||||
if (rtl)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue