From 87f010ff067134b0561d6e658bbbbe3c971f3841 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sat, 24 Jan 2009 18:45:35 +0000 Subject: bugfix: load keys even in non-interactive mode to avoid the loss of user-configured key bindings --- src/io.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 2f282a5..00c48f8 100755 --- a/src/io.c +++ b/src/io.c @@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.57 2009/01/24 14:44:25 culot Exp $ */ +/* $calcurse: io.c,v 1.58 2009/01/24 18:45:35 culot Exp $ */ /* * Calcurse - text-based organizer @@ -1278,6 +1278,8 @@ io_load_keys (char *pager) io_file_t *log; int i, skipped, loaded, line; const int MAX_ERRORS = 5; + + keys_init (); #define HSIZE 256 HTABLE_HEAD (ht_keybindings, HSIZE, ht_keybindings_s) ht_keys = -- cgit v1.2.3-54-g00ecf