mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0826: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
This commit is contained in:
@@ -4033,9 +4033,7 @@ WindowSetattr(WindowObject *self, char *name, PyObject *valObject)
|
||||
self->win->w_cursor.lnum = lnum;
|
||||
self->win->w_cursor.col = col;
|
||||
self->win->w_set_curswant = TRUE;
|
||||
#ifdef FEAT_VIRTUALEDIT
|
||||
self->win->w_cursor.coladd = 0;
|
||||
#endif
|
||||
/* When column is out of range silently correct it. */
|
||||
check_cursor_col_win(self->win);
|
||||
|
||||
|
Reference in New Issue
Block a user