diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-20 20:22:58 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-10-20 20:22:58 +0000 |
commit | 3baa6cd855312a91787dbdad94ce7250d9f04f03 (patch) | |
tree | f71ee4a95c53192b0dcddb27a2943bd3d50ce895 /keymap.c | |
parent | f4243cc6788f63f5ea8fa6d950063bf686a8a28c (diff) |
Another macro-function fix from Vikas.
Diffstat (limited to 'keymap.c')
-rw-r--r-- | keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -231,7 +231,8 @@ static int get_op (struct binding_t *bindings, const char *start, size_t len) for (i = 0; bindings[i].name; i++) { - if (!strncasecmp (start, bindings[i].name, len)) + if (!strncasecmp (start, bindings[i].name, len) && + strlen (bindings[i].name) == len) return bindings[i].op; } |