Mercurial > vim
comparison src/misc1.c @ 1348:17a83c0532e8 v7.1.062
updated for version 7.1-062
author | vimboss |
---|---|
date | Sat, 11 Aug 2007 12:32:57 +0000 |
parents | 2ae2dd2591fa |
children | a66a49322b6b |
comparison
equal
deleted
inserted
replaced
1347:302a6aa7aca2 | 1348:17a83c0532e8 |
---|---|
220 } | 220 } |
221 /* Skip over any additional white space (useful when newindent is less | 221 /* Skip over any additional white space (useful when newindent is less |
222 * than old) */ | 222 * than old) */ |
223 while (vim_iswhite(*p)) | 223 while (vim_iswhite(*p)) |
224 (void)*p++; | 224 (void)*p++; |
225 todo = size-ind_done; | 225 todo = size - ind_done; |
226 ind_len += todo; /* Set total length of indent in characters, | |
227 * which may have been undercounted until now */ | |
228 | |
226 } | 229 } |
227 else | 230 else |
228 { | 231 { |
229 todo = size; | 232 todo = size; |
230 newline = alloc(ind_len + line_len); | 233 newline = alloc(ind_len + line_len); |