kernelbase: Fix a typo in weights comparison helper (Coverity).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-01-03 16:03:33 +03:00 committed by Alexandre Julliard
parent a6606d0dae
commit ac72e61edf
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,7 @@ static 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 (get_table_entry( wctype_table, dstr2[dpos1] ) & (C1_PUNCT | C1_SPACE)) if (get_table_entry( wctype_table, dstr2[dpos2] ) & (C1_PUNCT | C1_SPACE))
{ {
inc_str_pos( &str2, &len2, &dpos2, &dlen2 ); inc_str_pos( &str2, &len2, &dpos2, &dlen2 );
skip = 1; skip = 1;