Nikolay Sivov : usp10: Fix LB27 rule that should check for prefix, not suffix.

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:51 CST 2017


Module: wine
Branch: master
Commit: 7e6a4b2bf54fb37836679eb6426a1c1a9a6b8cab
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7e6a4b2bf54fb37836679eb6426a1c1a9a6b8cab

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jan 31 14:43:48 2017 +0300

usp10: Fix LB27 rule that should check for prefix, not suffix.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/usp10/breaking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/usp10/breaking.c b/dlls/usp10/breaking.c
index 9746f5d..b1220c1 100644
--- a/dlls/usp10/breaking.c
+++ b/dlls/usp10/breaking.c
@@ -384,7 +384,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
                     if (break_class[i+1] == b_IN || break_class[i+1] == b_PO)
                         else_break(&break_before[i+1],b_x);
             }
-            if (break_class[i] == b_PO)
+            if (break_class[i] == b_PR)
             {
                 switch (break_class[i+1])
                 {




More information about the wine-cvs mailing list