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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user