summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/indent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indent.c b/src/indent.c
index 0ef8903501d..578dac83df5 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -2027,6 +2027,7 @@ whether or not it is currently displayed in some window. */)
struct position pos;
pos = *vmotion (PT, PT_BYTE, XINT (lines), w);
SET_PT_BOTH (pos.bufpos, pos.bytepos);
+ it.vpos = pos.vpos;
}
else
{