commit | 482aaeb058a3c05235148d22f6c511416da009fb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Sep 29 18:26:07 2005 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Sep 29 18:26:07 2005 +0000 |
tree | b9c63e97ec2826bfeea041afe176a04763dbcfa8 | |
parent | 4463f296d0744915fa25dbd893821833043f9a25 [diff] [blame] |
updated for version 7.0151
diff --git a/src/normal.c b/src/normal.c index 84de270..1e645e4 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -4750,10 +4750,9 @@ 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;