summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-18 20:27:04 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-18 20:27:04 +0000
commit5409c051a5fcf725790478d9b3e8b4ac2fbbe17d (patch)
tree092b905c52e03f3bbbb9ad99103fa3c7f135cf81 /src/misc1.c
parent4317d9b4867621ec572a3a4010587d59ecc51813 (diff)
downloadvim-5409c051a5fcf725790478d9b3e8b4ac2fbbe17d.zip
updated for version 7.0061
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index b3a18e5fa..50017c498 100644
--- 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;
}
/*