mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:47:17 +00:00
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 a new issue