comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters.

This commit is contained in:
Igor Tarasov 2009-02-19 07:01:21 +04:00 committed by Alexandre Julliard
parent 34e2848838
commit 73b490b57d
1 changed files with 1 additions and 1 deletions

View File

@ -1530,7 +1530,7 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
if (!charCode || !keyData) return 0; if (!charCode || !keyData) return 0;
/* only allow the valid WM_CHARs through */ /* only allow the valid WM_CHARs through */
if (!isalnum(charCode) && if (!isalnumW(charCode) &&
charCode != '.' && charCode != '`' && charCode != '!' && charCode != '.' && charCode != '`' && charCode != '!' &&
charCode != '@' && charCode != '#' && charCode != '$' && charCode != '@' && charCode != '#' && charCode != '$' &&
charCode != '%' && charCode != '^' && charCode != '&' && charCode != '%' && charCode != '^' && charCode != '&' &&