Should have used -- instead of == in the prior commit.

Change-Id: I90f8886b754dda19970c6579ffa477634e8dc4a5
This commit is contained in:
Jeffrey Altman
2015-05-20 11:05:38 -04:00
parent 0acef7729f
commit 26c7affa70

View File

@@ -276,7 +276,7 @@ append_string (struct snprintf_state *state,
len += pad(state, width, ' ');
if (prec != -1) {
while (prec== && *arg) {
while (prec-- && *arg) {
(*state->append_char) (state, *arg++);
++len;
}