mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 22:58:20 +00:00
comctl32: Use iswalnum() to filter alpha numeric characters from unicode messages.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
This commit is contained in:
parent
074069b885
commit
a5563e259c
|
@ -4664,7 +4664,7 @@ static INT TREEVIEW_ProcessLetterKeys(TREEVIEW_INFO *infoPtr, WPARAM charCode, L
|
|||
if (!charCode || !keyData) return 0;
|
||||
|
||||
/* only allow the valid WM_CHARs through */
|
||||
if (!isalnum(charCode) &&
|
||||
if (!iswalnum(charCode) &&
|
||||
charCode != '.' && charCode != '`' && charCode != '!' &&
|
||||
charCode != '@' && charCode != '#' && charCode != '$' &&
|
||||
charCode != '%' && charCode != '^' && charCode != '&' &&
|
||||
|
|
Loading…
Reference in a new issue