updated for version 7.0061

This commit is contained in:
Bram Moolenaar
2005-03-18 20:27:04 +00:00
parent 4317d9b486
commit 5409c051a5
2 changed files with 13 additions and 5 deletions

View File

@ -106,6 +106,7 @@ set_indent(size, flags)
int doit = FALSE;
int ind_done;
int tab_pad;
int retval = FALSE;
/*
* First check if there is anything to do and compute the number of
@ -266,12 +267,13 @@ set_indent(size, flags)
if (saved_cursor.lnum == curwin->w_cursor.lnum
&& saved_cursor.col >= (colnr_T)(p - oldline))
saved_cursor.col += ind_len - (p - oldline);
retval = TRUE;
}
else
vim_free(newline);
curwin->w_cursor.col = ind_len;
return TRUE;
return retval;
}
/*