diff options
| author | ZyX <kp-pav@yandex.ru> | 2017-02-15 02:00:45 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2017-02-23 19:46:44 +0300 |
| commit | 4f10d42f829da51cd79ff756ac4db96a6532dbac (patch) | |
| tree | 9623e92dd5395a0516916534b447e3680fe33c88 /src/nvim/main.c | |
| parent | 0eab7ac4b98d9a29e9713251a0402b5fbc37355e (diff) | |
| download | rneovim-4f10d42f829da51cd79ff756ac4db96a6532dbac.tar.gz rneovim-4f10d42f829da51cd79ff756ac4db96a6532dbac.tar.bz2 rneovim-4f10d42f829da51cd79ff756ac4db96a6532dbac.zip | |
buffer: Bind b:changedtick to b:['changedtick'], remove special cases
Diffstat (limited to 'src/nvim/main.c')
| -rw-r--r-- | src/nvim/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index fab968836c..f962a82a74 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -577,8 +577,8 @@ void getout(int exitval) if (buf->b_changedtick != -1) { apply_autocmds(EVENT_BUFWINLEAVE, buf->b_fname, buf->b_fname, FALSE, buf); - buf->b_changedtick = -1; /* note that we did it already */ - /* start all over, autocommands may mess up the lists */ + buf_set_changedtick(buf, -1); // note that we did it already + // start all over, autocommands may mess up the lists next_tp = first_tabpage; break; } |