Commit 7acd2ba2 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX.

parent 6ff842fd
......@@ -1117,12 +1117,7 @@ HRESULT WINAPI ScriptCPtoX(int iCP,
rtl = TRUE;
if (fTrailing)
{
if (rtl)
iCP--;
else
iCP++;
}
iCP++;
if (rtl)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment