Mercurial > vim
diff src/normal.c @ 534:c6296b0ad9ea v7.0151
updated for version 7.0151
author | vimboss |
---|---|
date | Thu, 29 Sep 2005 18:26:07 +0000 |
parents | 0d6092bb72e6 |
children | b13dbb7b797c |
line wrap: on
line diff
--- 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;