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.
Этот коммит содержится в:
родитель
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);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user