*: Replace b_changedtick with new always-inline functions

Ref #8474
This commit is contained in:
ZyX
2018-06-22 00:44:31 +03:00
parent cf659a1926
commit eaf2a25f12
17 changed files with 93 additions and 60 deletions

View File

@@ -2289,7 +2289,7 @@ static void u_undoredo(int undo, bool do_buf_event)
unchanged(curbuf, FALSE);
}
// because the calls to changed()/unchanged() above will bump b_changedtick
// because the calls to changed()/unchanged() above will bump changedtick
// again, we need to send a nvim_buf_lines_event with just the new value of
// b:changedtick
if (do_buf_event && kv_size(curbuf->update_channels)) {