Module: wine Branch: master Commit: 7e6a4b2bf54fb37836679eb6426a1c1a9a6b8cab URL: http://source.winehq.org/git/wine.git/?a=commit;h=7e6a4b2bf54fb37836679eb642...
Author: Nikolay Sivov nsivov@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@codeweavers.com Signed-off-by: Aric Stewart aric@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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]) {