diff options
author | ZyX <kp-pav@yandex.ru> | 2018-06-22 00:44:31 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2018-06-22 00:44:31 +0300 |
commit | eaf2a25f12342622414b264870f41939fe41355a (patch) | |
tree | e2378deecf6863a10c19a4a36480d2ffa1716b5a /src/nvim/misc1.c | |
parent | cf659a19260aea27816575d67a12139ebaada56f (diff) | |
download | rneovim-eaf2a25f12342622414b264870f41939fe41355a.tar.gz rneovim-eaf2a25f12342622414b264870f41939fe41355a.tar.bz2 rneovim-eaf2a25f12342622414b264870f41939fe41355a.zip |
*: Replace b_changedtick with new always-inline functions
Ref #8474
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 5678360ef0..3d7399f151 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -1795,7 +1795,7 @@ void changed(void) } changed_int(); } - buf_set_changedtick(curbuf, curbuf->b_changedtick + 1); + buf_inc_changedtick(curbuf); } /* @@ -1922,9 +1922,9 @@ changed_lines( linenr_T lnume, // line below last changed line long xtra, // number of extra lines (negative when deleting) bool do_buf_event // some callers like undo/redo call changed_lines() - // and then increment b_changedtick *again*. This flag + // and then increment changedtick *again*. This flag // allows these callers to send the nvim_buf_lines_event - // events after they're done modifying b_changedtick. + // events after they're done modifying changedtick. ) { changed_lines_buf(curbuf, lnum, lnume, xtra); @@ -2168,7 +2168,7 @@ unchanged ( redraw_tabline = TRUE; need_maketitle = TRUE; /* set window title later */ } - buf_set_changedtick(buf, buf->b_changedtick + 1); + buf_inc_changedtick(buf); } /* |