Change printf format string to include the extra blank
This is a follow up change to r364321 after a discussion about the style. All near by places use extra blanks in format strings, and while use of the format string to provide the extra blank may need more cycles than adding 1 to twidth, it generates shorter code and is clearer in the opinion of some reviewers of the previous change. Not objected to by: emaste MFC after: 3 days
This commit is contained in:
parent
8f9526c028
commit
36f059d427
@ -2199,7 +2199,7 @@ show_static_rule(struct cmdline_opts *co, struct format_opts *fo,
|
||||
*strchr(timestr, '\n') = '\0';
|
||||
bprintf(bp, "%s ", timestr);
|
||||
} else {
|
||||
bprintf(bp, "%*s", twidth + 1, " ");
|
||||
bprintf(bp, "%*s ", twidth, "");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user