comparison src/undo.c @ 344:7033303ea0c0 v7.0089

updated for version 7.0089
author vimboss
date Tue, 21 Jun 2005 22:37:39 +0000
parents 7fd70926e2e1
children 0f2b5d1b8117
comparison
equal deleted inserted replaced
343:607cff4bc0cb 344:7033303ea0c0
77 * the action that "u" should do. 77 * the action that "u" should do.
78 */ 78 */
79 static int undo_undoes = FALSE; 79 static int undo_undoes = FALSE;
80 80
81 /* 81 /*
82 * save the current line for both the "u" and "U" command 82 * Save the current line for both the "u" and "U" command.
83 * Returns OK or FAIL.
83 */ 84 */
84 int 85 int
85 u_save_cursor() 86 u_save_cursor()
86 { 87 {
87 return (u_save((linenr_T)(curwin->w_cursor.lnum - 1), 88 return (u_save((linenr_T)(curwin->w_cursor.lnum - 1),