diff options
author | Frederic Culot <calcurse@culot.org> | 2009-01-24 18:45:35 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2009-01-24 18:45:35 +0000 |
commit | 87f010ff067134b0561d6e658bbbbe3c971f3841 (patch) | |
tree | bbd100e45b97c8f258cd37d7caccaa3558e677f0 /src/io.c | |
parent | b411c2bf3f4514b9a28b80a24127dccaa94d38a5 (diff) | |
download | 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-x | src/io.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 = |