summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-09-29 18:26:07 +0000
committerBram Moolenaar <Bram@vim.org>2005-09-29 18:26:07 +0000
commit482aaeb058a3c05235148d22f6c511416da009fb (patch)
treeb9c63e97ec2826bfeea041afe176a04763dbcfa8 /src/normal.c
parent4463f296d0744915fa25dbd893821833043f9a25 (diff)
downloadvim-git-482aaeb058a3c05235148d22f6c511416da009fb.tar.gz
updated for version 7.0151v7.0151
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c
index 84de270ea..1e645e447 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -4750,10 +4750,9 @@ dozet:
if (ptr == NULL)
{
pos_T pos = curwin->w_cursor;
- int attr;
/* Find bad word under the cursor. */
- len = spell_move_to(curwin, FORWARD, TRUE, TRUE, &attr);
+ len = spell_move_to(curwin, FORWARD, TRUE, TRUE, NULL);
if (len != 0 && curwin->w_cursor.col <= pos.col)
ptr = ml_get_pos(&curwin->w_cursor);
curwin->w_cursor = pos;