Update src/Functions/soundex.cpp

Co-authored-by: flynn <fenglv15@mails.ucas.ac.cn>
This commit is contained in:
FriendLey 2023-04-11 09:49:34 +08:00 committed by GitHub
parent 0ac9f78c43
commit baa29a5a2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ struct SoundexImpl
{ {
*out_char_data++ = toUpperIfAlphaASCII(*in_cur); *out_char_data++ = toUpperIfAlphaASCII(*in_cur);
} }
char last_ch = getScode(in_cur, in_end); char prev_code = getScode(toUpperIfAlphaASCII(*in_cur));
char ch; char ch;
in_cur++; in_cur++;