X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/7083c89c5461aa345eec1e47e5fb047d31832c7a..cc0f051deed6b5c34de8cb12a3bae10287743d0a:/sbr/fmt_scan.c diff --git a/sbr/fmt_scan.c b/sbr/fmt_scan.c index de7d8b78..39d549a5 100644 --- a/sbr/fmt_scan.c +++ b/sbr/fmt_scan.c @@ -470,7 +470,7 @@ fmt_scan (struct format *format, charstring_t scanlp, int width, int *dat, int num = value; unsigned int wid; - for (wid = num <= 0 ? 1 : 0; num; ++wid, num /= 10) {} + for (wid = num <= 0; num; ++wid, num /= 10) {} cpnumber (scanlp, value, wid, ' ', max - charstring_chars (scanlp)); break;