Igor Tarasov : comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters.
Alexandre Julliard
julliard at winehq.org
Thu Feb 19 09:18:56 CST 2009
Module: wine
Branch: master
Commit: 73b490b57da520d4cfd1aeb41d54fbea8c33c32c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=73b490b57da520d4cfd1aeb41d54fbea8c33c32c
Author: Igor Tarasov <tarasov.igor at gmail.com>
Date: Thu Feb 19 07:01:21 2009 +0400
comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters.
---
dlls/comctl32/listview.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index b8545fd..6b89766 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -1530,7 +1530,7 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
if (!charCode || !keyData) return 0;
/* only allow the valid WM_CHARs through */
- if (!isalnum(charCode) &&
+ if (!isalnumW(charCode) &&
charCode != '.' && charCode != '`' && charCode != '!' &&
charCode != '@' && charCode != '#' && charCode != '$' &&
charCode != '%' && charCode != '^' && charCode != '&' &&
More information about the wine-cvs
mailing list