diff options
Diffstat (limited to 'src/register.c')
-rw-r--r-- | src/register.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/register.c b/src/register.c index 9f179ea15..522500ce1 100644 --- a/src/register.c +++ b/src/register.c @@ -2183,7 +2183,7 @@ error: curbuf->b_op_start.lnum, nr_lines); // put '] mark at last inserted character - curbuf->b_op_end.lnum = lnum; + curbuf->b_op_end.lnum = new_lnum; // correct length for change in indent col = (colnr_T)STRLEN(y_array[y_size - 1]) - lendiff; if (col > 1) |