diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-28 12:45:29 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-28 13:36:30 +0200 |
commit | 0c4e9d3f0073092df30213bb9eb4296ec9176b19 (patch) | |
tree | 29590027b79026811b0eebeeed9e4b1753b46c81 /src/help.c | |
parent | 34f094312fc2e9dce7621449e07f25c748039f97 (diff) | |
download | calcurse-0c4e9d3f0073092df30213bb9eb4296ec9176b19.tar.gz calcurse-0c4e9d3f0073092df30213bb9eb4296ec9176b19.zip |
Invoke vars_init() before importing data with "-i"
We forgot to call vars_init() when importing an item using the "-i"
command line argument, which led to the pager configuration variable
being unset and hence the pager invocation (triggered to show the log in
case there are any errors during import) failing.
Fix this by calling vars_init() before io_import_data().
Reported-by: Andraž 'ruskie' Levstik <ruskie@codemages.net>
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/help.c')
0 files changed, 0 insertions, 0 deletions