Rev 2441 | Rev 2572 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2441 | Rev 2571 | ||
---|---|---|---|
Line 195... | Line 195... | ||
195 | if (printf_putchar(' ', ps) == 1) |
195 | if (printf_putchar(' ', ps) == 1) |
196 | counter++; |
196 | counter++; |
197 | } |
197 | } |
198 | } |
198 | } |
199 | 199 | ||
200 | while (precision > size) { |
- | |
201 | precision--; |
- | |
202 | if (printf_putchar(' ', ps) == 1) |
200 | if ((retval = printf_putnchars(s, size < precision ? size : precision, |
203 | ++counter; |
201 | ps)) < 0) { |
204 | } |
- | |
205 | - | ||
206 | if ((retval = printf_putnchars(s, precision, ps)) < 0) { |
- | |
207 | return -counter; |
202 | return -counter; |
208 | } |
203 | } |
209 | counter += retval; |
204 | counter += retval; |
210 | 205 | ||
211 | while (width-- > 0) { |
206 | while (width-- > 0) { |