summaryrefslogtreecommitdiffstats
path: root/src/if_py_both.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index f15bdc366e..a0c1663784 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -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);