Mercurial > vim
diff src/memline.c @ 16632:30de89c1d090 v8.1.1318
patch 8.1.1318: code for text changes is in a "misc" file
commit https://github.com/vim/vim/commit/ec28d1516eb8bb5dcaa42de145953a6d49aebb6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 11 18:36:34 2019 +0200
patch 8.1.1318: code for text changes is in a "misc" file
Problem: Code for text changes is in a "misc" file.
Solution: Move the code to change.c.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 11 May 2019 18:45:06 +0200 |
parents | 7ad3fc329e08 |
children | 978bcd70883d |
line wrap: on
line diff
--- a/src/memline.c +++ b/src/memline.c @@ -1637,7 +1637,7 @@ ml_recover(void) * empty. Don't set the modified flag then. */ if (!(curbuf->b_ml.ml_line_count == 2 && *ml_get(1) == NUL)) { - changed_int(); + changed_internal(); ++CHANGEDTICK(curbuf); } } @@ -1651,7 +1651,7 @@ ml_recover(void) vim_free(p); if (i != 0) { - changed_int(); + changed_internal(); ++CHANGEDTICK(curbuf); break; }