Mercurial > vim
diff src/ops.c @ 237:73354c21f1e4 v7.0066
updated for version 7.0066
author | vimboss |
---|---|
date | Fri, 15 Apr 2005 21:13:42 +0000 |
parents | da182deebec7 |
children | 8fa8d7964cf1 |
line wrap: on
line diff
--- a/src/ops.c +++ b/src/ops.c @@ -3430,9 +3430,9 @@ do_put(regname, dir, count, flags) /* adjust '] mark */ curbuf->b_op_end.lnum = curwin->w_cursor.lnum - 1; curbuf->b_op_end.col = bd.textcol + totlen - 1; -#ifdef FEAT_VIRTUALEDIT +# ifdef FEAT_VIRTUALEDIT curbuf->b_op_end.coladd = 0; -#endif +# endif if (flags & PUT_CURSEND) { curwin->w_cursor = curbuf->b_op_end; @@ -3627,7 +3627,7 @@ error: if (flags & PUT_CURSLINE) { - /* ":put": put cursor on last inserte line */ + /* ":put": put cursor on last inserted line */ curwin->w_cursor.lnum = lnum; beginline(BL_WHITE | BL_FIX); }