Unset modification flag after merging

Turn off the local modification flag to avoid a bogus warning when
reloading the data files immediately after the merge process.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Lukas Fleischer 2017-09-08 21:14:42 +02:00
parent f69698569f
commit e943a8a4db

View File

@ -473,6 +473,8 @@ static void io_merge_data(void)
mem_free(path_apts_new);
mem_free(path_todo_new);
io_unset_modified();
/*
* We do not directly write to the data files here; however, the
* external merge tool will likely have incorporated changes from the