From 51ac12f68322b411ae5b038834a649a0e9ccb462 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 2 Jul 2005 23:21:11 +0000 Subject: updated for version 7.0100 --- src/eval.c | 2 +- src/ex_cmds.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/eval.c b/src/eval.c index 66aed74e2..af2c73d7f 100644 --- a/src/eval.c +++ b/src/eval.c @@ -13463,7 +13463,7 @@ f_spellbadword(argvars, rettv) /* Get the length of the word and copy it. */ ptr = ml_get_cursor(); - len = spell_check(curwin, ptr, &attr); + len = spell_check(curwin, ptr, &attr, NULL); rettv->vval.v_string = vim_strnsave(ptr, len); #endif } diff --git a/src/ex_cmds.h b/src/ex_cmds.h index 48ef24b05..dab4c4a1d 100644 --- a/src/ex_cmds.h +++ b/src/ex_cmds.h @@ -760,9 +760,9 @@ EX(CMD_sort, "sort", ex_sort, EX(CMD_split, "split", ex_splitview, BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR), EX(CMD_spellgood, "spellgood", ex_spell, - NEEDARG|EXTRA|TRLBAR), + BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR), EX(CMD_spellwrong, "spellwrong", ex_spell, - NEEDARG|EXTRA|TRLBAR), + BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR), EX(CMD_spelldump, "spelldump", ex_spelldump, TRLBAR), EX(CMD_spellrepall, "spellrepall", ex_spellrepall, -- cgit v1.2.3