Tiny, fast, non-dependent and fully loaded printf implementation for embedded systems. Extensive test suite passing.
2.47k
stars
452
forks
source link
Width specifier not always respected for non-left-aligned fields #113
Open
eyalroz opened 2 years ago
If we run
sprintf_("%-20.5i", 123)
, we get123
+ 17 spaces rather than00123
+ 15 spaces.This bug was noticed and supposedly fixed in this commit of mickjc750's fork.