diff options
author | Daniel Hahler <git@thequod.de> | 2019-06-10 16:26:11 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2019-08-07 14:21:23 +0200 |
commit | 0e3b9ea74d0611567b519e4e4af1fc427f8dca4d (patch) | |
tree | 501d723b8a3974a20d679dcc047183ae9925130c /src/nvim/memline.c | |
parent | aa6aa732e9dd14c2a8804d4c20658112a23491b2 (diff) | |
download | rneovim-0e3b9ea74d0611567b519e4e4af1fc427f8dca4d.tar.gz rneovim-0e3b9ea74d0611567b519e4e4af1fc427f8dca4d.tar.bz2 rneovim-0e3b9ea74d0611567b519e4e4af1fc427f8dca4d.zip |
includes
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 3220c7d9b8..34774055c1 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -47,6 +47,7 @@ #include "nvim/vim.h" #include "nvim/memline.h" #include "nvim/buffer.h" +#include "nvim/change.h" #include "nvim/cursor.h" #include "nvim/eval.h" #include "nvim/getchar.h" @@ -1178,7 +1179,7 @@ void ml_recover(void) /* Recovering an empty file results in two lines and the first line is * empty. Don't set the modified flag then. */ if (!(curbuf->b_ml.ml_line_count == 2 && *ml_get(1) == NUL)) { - changed_int(); + changed_internal(); buf_inc_changedtick(curbuf); } } else { @@ -1188,7 +1189,7 @@ void ml_recover(void) i = STRCMP(p, ml_get(idx + lnum)); xfree(p); if (i != 0) { - changed_int(); + changed_internal(); buf_inc_changedtick(curbuf); break; } |