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;
|
rtl = TRUE;
|
||||||
|
|
||||||
if (fTrailing)
|
if (fTrailing)
|
||||||
{
|
iCP++;
|
||||||
if (rtl)
|
|
||||||
iCP--;
|
|
||||||
else
|
|
||||||
iCP++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (rtl)
|
if (rtl)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue