Piotr Caban : libwine: Fix NORM_IGNORESYMBOLS flag handling in compare_weights.
Alexandre Julliard
julliard at winehq.org
Wed Jun 12 16:44:25 CDT 2019
Module: wine
Branch: master
Commit: 324082a8f390f23be4f266a5b51cd77f722890ee
URL: https://source.winehq.org/git/wine.git/?a=commit;h=324082a8f390f23be4f266a5b51cd77f722890ee
Author: Piotr Caban <piotr at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list