*: 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

@@ -603,7 +603,7 @@ void getout(int exitval)
}
buf_T *buf = wp->w_buffer;
if (buf->b_changedtick != -1) {
if (buf_get_changedtick(buf) != -1) {
apply_autocmds(EVENT_BUFWINLEAVE, buf->b_fname,
buf->b_fname, false, buf);
buf_set_changedtick(buf, -1); // note that we did it already