Commit fb9c180b authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

history: after loading the lists, mark them as unchanged

Populating the search, replace, and execute lists makes use of the
function update_history() which sets history_changed to TRUE, which
meant that the search_history file would always get written even if
nothing had changed.
No related merge requests found
Showing with 3 additions and 0 deletions
+3 -0
......@@ -365,6 +365,9 @@ void load_history(void)
free(line);
}
/* After reading them in, set the status of the lists to "unchanged". */
history_changed = FALSE;
free(searchhist);
free(legacyhist);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment