diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-12-07 23:30:00 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-12-07 23:30:00 +0000 |
commit | 9ef51b05679f9e1ee2ed6dce580455c56e051ed3 (patch) | |
tree | 636a04cf5abf5bab7d4f042debe0a78f460a3ec4 /src | |
parent | 43bed5bb09c029b2535f937dc85ebbf74b3279ee (diff) | |
download | irssi-9ef51b05679f9e1ee2ed6dce580455c56e051ed3.zip |
Simplify, isalnum && !isdigit == isalpha.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4950 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/keyboard.c b/src/fe-common/core/keyboard.c index 7c3ad5d5..49bcd399 100644 --- a/src/fe-common/core/keyboard.c +++ b/src/fe-common/core/keyboard.c @@ -300,7 +300,7 @@ static int expand_key(const char *key, GSList **out) expand_out_char(*out, *key); expand_out_char(*out, '-'); last_hyphen = FALSE; /* optional */ - } else if (last_hyphen && i_isalnum(*key) && !i_isdigit(*key)) { + } else if (last_hyphen && i_isalpha(*key)) { /* possibly beginning of keycombo */ start = key; last_hyphen = FALSE; |