summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 1d58faf..5e87c55 100644
--- a/src/main.c
+++ b/src/main.c
@@ -623,9 +623,9 @@ main (int argc, char *argv[])
init_frame_lists ();
update_modifier_map ();
initialize_default_keybindings ();
-#ifdef HAVE_READLINE_HISTORY_H
+#ifdef HAVE_HISTORY
history_load ();
-#endif /* HAVE_READLINE_HISTORY_H */
+#endif /* HAVE_HISTORY */
/* Scan for windows */
if (screen_arg)
@@ -688,9 +688,9 @@ clean_up ()
{
int i;
-#ifdef HAVE_READLINE_HISTORY_H
+#ifdef HAVE_HISTORY
history_save ();
-#endif /* HAVE_READLINE_HISTORY_H */
+#endif /* HAVE_HISTORY */
free_keymaps ();
free_aliases ();