summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-02 23:21:11 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-02 23:21:11 +0000
commit51ac12f68322b411ae5b038834a649a0e9ccb462 (patch)
tree3b473d7debaae9e0dbaf147b2fc1bcb4e28ee887 /src
parent0d9c26dd8333aae4b20015f13fe2e8e1f07037bd (diff)
downloadvim-51ac12f68322b411ae5b038834a649a0e9ccb462.zip
updated for version 7.0100
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
-rw-r--r--src/ex_cmds.h4
2 files changed, 3 insertions, 3 deletions
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,