summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-01 22:09:21 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-01 22:09:21 +0000
commitfd2ac767ebb66adcb7ca85955f5fd40704475595 (patch)
tree16e61ca0dbcc0ffeb10a3fb5072842144ca9f89d /src/ops.c
parente1438bb8d0b7a48f712458e68755ab8b66d92ace (diff)
downloadvim-git-fd2ac767ebb66adcb7ca85955f5fd40704475595.tar.gz
updated for version 7.0211
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ops.c b/src/ops.c
index 487ae4cee..9695d9da3 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -3379,6 +3379,7 @@ do_put(regname, dir, count, flags)
}
curwin->w_cursor.coladd = 0;
#endif
+ bd.textcol = 0;
for (i = 0; i < y_size; ++i)
{
int spaces;
@@ -3386,7 +3387,6 @@ do_put(regname, dir, count, flags)
bd.startspaces = 0;
bd.endspaces = 0;
- bd.textcol = 0;
vcol = 0;
delcount = 0;
@@ -3536,7 +3536,6 @@ do_put(regname, dir, count, flags)
}
}
}
- new_cursor = curwin->w_cursor;
curbuf->b_op_start = curwin->w_cursor;
}
/*
@@ -3544,6 +3543,7 @@ do_put(regname, dir, count, flags)
*/
else if (dir == BACKWARD)
--lnum;
+ new_cursor = curwin->w_cursor;
/*
* simple case: insert into current line