0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.0151

This commit is contained in:
Bram Moolenaar
2005-09-29 18:26:07 +00:00
parent 4463f296d0
commit 482aaeb058
49 changed files with 3715 additions and 529 deletions

View File

@@ -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;