Mercurial > vim
diff src/misc1.c @ 217:89114a6baf3c
updated for version 7.0061
author | vimboss |
---|---|
date | Fri, 18 Mar 2005 20:27:04 +0000 |
parents | 991a7623a1fe |
children | 8e2cc4452728 |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -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; } /*