summaryrefslogtreecommitdiffstats
path: root/src/spell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spell.c b/src/spell.c
index f124ef21df..1e1f03f056 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -1603,7 +1603,7 @@ spell_move_to(
* though...
*/
lnum = wp->w_cursor.lnum;
- clearpos(&found_pos);
+ CLEAR_POS(&found_pos);
while (!got_int)
{
@@ -8545,7 +8545,7 @@ ex_spelldump(exarg_T *eap)
set_option_value((char_u*)"spl", dummy, spl, OPT_LOCAL);
vim_free(spl);
- if (!bufempty())
+ if (!BUFEMPTY())
return;
spell_dump_compl(NULL, 0, NULL, eap->forceit ? DUMPFLAG_COUNT : 0);