Mercurial > hg > th-libs
comparison th_string.c @ 329:0fa9d39df928
Remove redundant check.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 23 Feb 2016 12:54:26 +0200 |
parents | 0084618812ee |
children | b2c4b0b4d44f |
comparison
equal
deleted
inserted
replaced
328:0146aa9a9524 | 329:0fa9d39df928 |
---|---|
316 fmt++; | 316 fmt++; |
317 // If no digit after '.', precision is to be 0 | 317 // If no digit after '.', precision is to be 0 |
318 f_prec = 0; | 318 f_prec = 0; |
319 while (th_isdigit(*fmt)) | 319 while (th_isdigit(*fmt)) |
320 f_prec = f_prec * 10 + (*fmt++ - '0'); | 320 f_prec = f_prec * 10 + (*fmt++ - '0'); |
321 | |
322 f_flags &= ~ TH_PF_ZERO; | |
323 } | 321 } |
324 | 322 |
325 // Check for length modifiers (NOT SUPPORTED CURRENTLY) | 323 // Check for length modifiers (NOT SUPPORTED CURRENTLY) |
326 switch (*fmt) | 324 switch (*fmt) |
327 { | 325 { |