Rev 4234 | Rev 4482 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4234 | Rev 4245 | ||
---|---|---|---|
Line 299... | Line 299... | ||
299 | uint32_t flags, printf_spec_t *ps) |
299 | uint32_t flags, printf_spec_t *ps) |
300 | { |
300 | { |
301 | if (str == NULL) |
301 | if (str == NULL) |
302 | return printf_putstr(nullstr, ps); |
302 | return printf_putstr(nullstr, ps); |
303 | 303 | ||
- | 304 | if (*str == U_BOM) |
|
- | 305 | str++; |
|
- | 306 | ||
304 | /* Print leading spaces. */ |
307 | /* Print leading spaces. */ |
305 | size_t strw = wstr_length(str); |
308 | size_t strw = wstr_length(str); |
306 | if (precision == 0) |
309 | if (precision == 0) |
307 | precision = strw; |
310 | precision = strw; |
308 | 311 |