Mercurial > vim
changeset 1348:17a83c0532e8 v7.1.062
updated for version 7.1-062
author | vimboss |
---|---|
date | Sat, 11 Aug 2007 12:32:57 +0000 |
parents | 302a6aa7aca2 |
children | da1d62fe5379 |
files | src/misc1.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -222,7 +222,10 @@ set_indent(size, flags) * than old) */ while (vim_iswhite(*p)) (void)*p++; - todo = size-ind_done; + todo = size - ind_done; + ind_len += todo; /* Set total length of indent in characters, + * which may have been undercounted until now */ + } else {