Module: wine Branch: master Commit: 324082a8f390f23be4f266a5b51cd77f722890ee URL: https://source.winehq.org/git/wine.git/?a=commit;h=324082a8f390f23be4f266a5b...
Author: Piotr Caban piotr@codeweavers.com Date: Wed Jun 12 11:15:45 2019 +0200
libwine: Fix NORM_IGNORESYMBOLS flag handling in compare_weights.
Signed-off-by: Piotr Caban piotr@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
libs/port/sortkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/port/sortkey.c b/libs/port/sortkey.c index f62289b..8dc1e31 100644 --- a/libs/port/sortkey.c +++ b/libs/port/sortkey.c @@ -216,7 +216,7 @@ static inline int compare_weights(int flags, const WCHAR *str1, int len1, inc_str_pos(&str1, &len1, &dpos1, &dlen1); skip = 1; } - if (!dlen2 && get_char_typeW(dstr2[dpos2]) & (C1_PUNCT | C1_SPACE)) + if (get_char_typeW(dstr2[dpos2]) & (C1_PUNCT | C1_SPACE)) { inc_str_pos(&str2, &len2, &dpos2, &dlen2); skip = 1;