diff options
author | Richard Braun <rbraun@sceen.net> | 2017-07-01 18:52:56 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-07-01 18:52:56 +0200 |
commit | 9941dfbbb8aea80b7a98fce1651a9fb4b6d7534b (patch) | |
tree | a0ac571a27850678828a56bdd6508dde67f8ba1e /kern/fmt.c | |
parent | b8542a013fd35334b80a4d8cf7e4b5e3483ffb9b (diff) |
Minor style fixes
Diffstat (limited to 'kern/fmt.c')
-rw-r--r-- | kern/fmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -676,10 +676,11 @@ fmt_sprintf_state_produce_str(struct fmt_sprintf_state *state) len = 0; - for (len = 0; s[len] != '\0'; len++) + for (len = 0; s[len] != '\0'; len++) { if (len == state->precision) { break; } + } if (!(state->flags & FMT_FORMAT_LEFT_JUSTIFY)) { while (len < state->width) { |