diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-13 13:57:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 04:57:36 -0700 |
commit | d5b66e88601b4d2fde5d905f9d12847126ba4449 (patch) | |
tree | 00c6438d206a6a7f1928e2f6d05e5e0c5a5d1a96 /src/nvim/memline.c | |
parent | b9d57fa107a456596e68d2ee3853ba75142a6930 (diff) | |
download | rneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.tar.gz rneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.tar.bz2 rneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.zip |
refactor: replace TRUE/FALSE with true/false #15647
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index 230361b997..f1774a20cf 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -3341,11 +3341,11 @@ static int do_swapexists(buf_T *buf, char_u *fname) set_vim_var_string(VV_SWAPNAME, (char *) fname, -1); set_vim_var_string(VV_SWAPCHOICE, NULL, -1); - /* Trigger SwapExists autocommands with <afile> set to the file being - * edited. Disallow changing directory here. */ - ++allbuf_lock; - apply_autocmds(EVENT_SWAPEXISTS, buf->b_fname, NULL, FALSE, NULL); - --allbuf_lock; + // Trigger SwapExists autocommands with <afile> set to the file being + // edited. Disallow changing directory here. + allbuf_lock++; + apply_autocmds(EVENT_SWAPEXISTS, buf->b_fname, NULL, false, NULL); + allbuf_lock--; set_vim_var_string(VV_SWAPNAME, NULL, -1); |