=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vim/Attic/ops.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/vim/Attic/ops.c 1996/09/21 06:23:13 1.2 +++ src/usr.bin/vim/Attic/ops.c 1996/10/14 03:55:22 1.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: ops.c,v 1.2 1996/09/21 06:23:13 downsj Exp $ */ +/* $OpenBSD: ops.c,v 1.3 1996/10/14 03:55:22 downsj Exp $ */ /* vi:set ts=4 sw=4: * * VIM - Vi IMproved by Bram Moolenaar @@ -755,7 +755,10 @@ /* replace the line */ ml_replace(curwin->w_cursor.lnum, newp, FALSE); } + curwin->w_cursor.lnum = lnum; + adjust_cursor(); + CHANGED; updateScreen(VALID_TO_CURSCHAR); op_line_count = 0; /* no lines deleted */