aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-01-24 18:45:35 +0000
committerFrederic Culot <calcurse@culot.org>2009-01-24 18:45:35 +0000
commit87f010ff067134b0561d6e658bbbbe3c971f3841 (patch)
treebbd100e45b97c8f258cd37d7caccaa3558e677f0 /src/io.c
parentb411c2bf3f4514b9a28b80a24127dccaa94d38a5 (diff)
downloadcalcurse-87f010ff067134b0561d6e658bbbbe3c971f3841.tar.gz
calcurse-87f010ff067134b0561d6e658bbbbe3c971f3841.zip
bugfix: load keys even in non-interactive mode to avoid the loss of user-configured key bindings
Diffstat (limited to 'src/io.c')
-rwxr-xr-xsrc/io.c4
1 files changed, 3 insertions, 1 deletions
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 =