Commit 18bffde
committed
Row_printNanoseconds() code shrink
Merge two xSnprintf() calls within the function. When the time value to
print is less than one second, the "%.u" format allows us to print no
digits in the seconds field.
Signed-off-by: Kang-Che Sung <[email protected]>1 parent 8ea5d6a commit 18bffde
1 file changed
+5
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | 422 | | |
429 | 423 | | |
430 | 424 | | |
431 | | - | |
432 | | - | |
433 | | - | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
434 | 428 | | |
435 | 429 | | |
436 | 430 | | |
437 | | - | |
| 431 | + | |
| 432 | + | |
438 | 433 | | |
439 | 434 | | |
440 | 435 | | |
| |||
0 commit comments