summaryrefslogtreecommitdiffstats
path: root/keymap.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-10-16 09:55:50 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-10-16 09:55:50 +0000
commitae4d346e0af3f1c3e16b58ef99a9c92a99d18581 (patch)
tree6b198fa03d23f03d52b8a176df267504ab671966 /keymap.c
parent1c753436c673c6016c92c0dd8f4ba786b9a3387f (diff)
Nits from Vikas.
Diffstat (limited to 'keymap.c')
-rw-r--r--keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keymap.c b/keymap.c
index 74a0eb5d..42d3d742 100644
--- a/keymap.c
+++ b/keymap.c
@@ -477,7 +477,7 @@ int km_expand_key (char *s, size_t len, struct keymap_t *map)
FOREVER
{
strfcpy (s, km_keyname (map->keys[p]), len);
- len -= (1 + (l = strlen (s)));
+ len -= (l = strlen (s));
if (++p >= map->len || !len)
return (1);