diff src/edit.c @ 626:732c7ae5743e v7.0180

updated for version 7.0180
author vimboss
date Fri, 13 Jan 2006 22:35:40 +0000
parents 81fe2ccc1207
children b6632d553df3
line wrap: on
line diff
--- a/src/edit.c
+++ b/src/edit.c
@@ -6527,6 +6527,10 @@ ins_ctrl_g()
 	/* CTRL-G u: start new undoable edit */
 	case 'u': u_sync();
 		  ins_need_undo = TRUE;
+
+		  /* Need to reset Insstart, esp. because a BS that joins
+		   * aline to the previous one must save for undo. */
+		  Insstart = curwin->w_cursor;
 		  break;
 
 	/* Unknown CTRL-G command, reserved for future expansion. */