diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:33:12 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2017-11-23 22:34:25 +0000 |
commit | 3bb94dc1a6094f1306cdaf387973b6712244df6a (patch) | |
tree | 700f2d7596bd85381cb7200f0ae7c05823a3abbd /src/binds.c | |
parent | e2954b8108a5bbb441d1c98fa4888ba62611432f (diff) | |
download | imv-3bb94dc1a6094f1306cdaf387973b6712244df6a.tar.gz |
Require <> around all keys in a bind
This is partly for consistency, party to resolve a bug where binding [
in the config file would trick the ini parser into thinking it was
reading a section header, leading to the bind not being applied.
Diffstat (limited to 'src/binds.c')
-rw-r--r-- | src/binds.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/binds.c b/src/binds.c index f1c4c65..9de63d7 100644 --- a/src/binds.c +++ b/src/binds.c @@ -263,13 +263,6 @@ struct list *imv_bind_parse_keys(const char *keys) list_deep_free(list); return NULL; } - } else { - /* Just a regular character */ - char *item = malloc(2); - item[0] = *keys; - item[1] = 0; - list_append(list, item); - ++keys; } } |