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.master
parent
c10a1e54dc
commit
fb9c180bae
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue