commit | cc00b955cd2cad7dfba5428ee91e295fb422d259 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 11 12:32:57 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 11 12:32:57 2007 +0000 |
tree | 5a9433c5ff5c7e458ae6db742b4594b8847375e1 | |
parent | a245a5bb06a5e3aec2ed0cf177c79438ee17f4ed [diff] [blame] |
updated for version 7.1-062
diff --git a/src/misc1.c b/src/misc1.c index be2c244..d950504 100644 --- a/src/misc1.c +++ b/src/misc1.c
@@ -222,7 +222,10 @@ * 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 {