From 3bb94dc1a6094f1306cdaf387973b6712244df6a Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Thu, 23 Nov 2017 22:33:12 +0000 Subject: 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. --- src/binds.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/binds.c') 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; } } -- cgit v1.2.3