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:
parent
f69698569f
commit
e943a8a4db
2
src/io.c
2
src/io.c
@ -473,6 +473,8 @@ static void io_merge_data(void)
|
|||||||
mem_free(path_apts_new);
|
mem_free(path_apts_new);
|
||||||
mem_free(path_todo_new);
|
mem_free(path_todo_new);
|
||||||
|
|
||||||
|
io_unset_modified();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We do not directly write to the data files here; however, the
|
* We do not directly write to the data files here; however, the
|
||||||
* external merge tool will likely have incorporated changes from the
|
* external merge tool will likely have incorporated changes from the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user