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>
This commit is contained in:
Piotr Caban 2019-06-12 11:15:45 +02:00 committed by Alexandre Julliard
parent 5e63f7f93a
commit 324082a8f3
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ static inline int compare_weights(int flags, const WCHAR *str1, int len1,
inc_str_pos(&str1, &len1, &dpos1, &dlen1); inc_str_pos(&str1, &len1, &dpos1, &dlen1);
skip = 1; 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); inc_str_pos(&str2, &len2, &dpos2, &dlen2);
skip = 1; skip = 1;