[PATCH 2/2] usp10: Fix LB27 rule that should check for prefix, not suffix

Nikolay Sivov nsivov at codeweavers.com
Tue Jan 31 05:43:48 CST 2017


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 9746f5d5e2..b1220c1bb6 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])
                 {
-- 
2.11.0




More information about the wine-patches mailing list