summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ops.c b/src/ops.c
index 2907d8a58..5433f3852 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -692,6 +692,7 @@ op_reindent(oap, how)
}
}
++curwin->w_cursor.lnum;
+ curwin->w_cursor.col = 0; /* make sure it's valid */
}
/* put cursor on first non-blank of indented line */