1
1

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.
Этот коммит содержится в:
Benno Schulenberg 2017-09-17 12:21:19 +02:00
родитель c10a1e54dc
Коммит 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);
}