mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
updated for version 7.0027
This commit is contained in:
@@ -107,9 +107,9 @@ coladvance(wcol)
|
||||
|
||||
if (wcol == MAXCOL || rc == FAIL)
|
||||
curwin->w_valid &= ~VALID_VIRTCOL;
|
||||
else
|
||||
else if (*ml_get_cursor() != TAB)
|
||||
{
|
||||
/* Virtcol is valid */
|
||||
/* Virtcol is valid when not on a TAB */
|
||||
curwin->w_valid |= VALID_VIRTCOL;
|
||||
curwin->w_virtcol = wcol;
|
||||
}
|
||||
|
Reference in New Issue
Block a user