Aric Stewart : usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX.
Alexandre Julliard
julliard at winehq.org
Fri Mar 18 11:30:17 CDT 2011
Module: wine
Branch: master
Commit: 7acd2ba264484637d08611e37bf4ebcb591ed958
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7acd2ba264484637d08611e37bf4ebcb591ed958
Author: Aric Stewart <aric at codeweavers.com>
Date: Thu Mar 17 14:46:03 2011 -0500
usp10: Correct fTrailing handling for RTL runs in ScriptCPtoX.
---
dlls/usp10/usp10.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index d575425..10ffed0 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -1117,12 +1117,7 @@ HRESULT WINAPI ScriptCPtoX(int iCP,
rtl = TRUE;
if (fTrailing)
- {
- if (rtl)
- iCP--;
- else
- iCP++;
- }
+ iCP++;
if (rtl)
{
More information about the wine-cvs
mailing list