Module: wine Branch: master Commit: c4626bba01f7b8b91ffc8c9cdba661bb7d9ab205 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c4626bba01f7b8b91ffc8c9cdb...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Jan 31 14:43:47 2017 +0300
usp10: Fixed LB30 condition, breaking after CP class.
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 eb3fc00..9746f5d 100644 --- a/dlls/usp10/breaking.c +++ b/dlls/usp10/breaking.c @@ -414,7 +414,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT break_class[i+1] == b_OP) else_break(&break_before[i+1],b_x); if (break_class[i] == b_CP && - (break_class[i+1] == b_AL || break_class[i] == b_HL || break_class[i] == b_NU)) + (break_class[i+1] == b_AL || break_class[i+1] == b_HL || break_class[i+1] == b_NU)) else_break(&break_before[i+1],b_x);
/* LB30a */