diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-11-24 08:48:05 +0100 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-06 19:12:15 +0200 |
commit | 7970631fa01e95a41ba4520e030e6208c8fb3648 (patch) | |
tree | 60a6a82ffb1f5d0388cb816c68e2a31ead1cda2d /src/nvim/spell.c | |
parent | 763c852812c8c7e819881a76a237b6f19920f803 (diff) | |
download | rneovim-7970631fa01e95a41ba4520e030e6208c8fb3648.tar.gz rneovim-7970631fa01e95a41ba4520e030e6208c8fb3648.tar.bz2 rneovim-7970631fa01e95a41ba4520e030e6208c8fb3648.zip |
buffer: move BUFEMPTY to a function
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index f09223eab5..28276884b0 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -6672,7 +6672,7 @@ void ex_spelldump(exarg_T *eap) set_option_value("spl", dummy, (char *)spl, OPT_LOCAL); xfree(spl); - if (!BUFEMPTY(curbuf)) { + if (!buf_is_empty(curbuf)) { return; } |