From 7e6a4b2bf54fb37836679eb6426a1c1a9a6b8cab Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Tue, 31 Jan 2017 14:43:48 +0300 Subject: [PATCH] usp10: Fix LB27 rule that should check for prefix, not suffix. Signed-off-by: Nikolay Sivov Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- 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 9746f5d5e21..b1220c1bb66 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]) {