mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-02 10:59:15 +00:00
refactor(userspace): build using cmake
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* nanoprintf v0.5.3: a tiny embeddable printf replacement written in C.
|
||||
/* nanoprintf v0.5.4: a tiny embeddable printf replacement written in C.
|
||||
https://github.com/charlesnicholson/nanoprintf
|
||||
charles.nicholson+nanoprintf@gmail.com
|
||||
dual-licensed under 0bsd and unlicense, take your pick. see eof for details. */
|
||||
@ -336,6 +336,7 @@ static int npf_parse_format_spec(char const *format, npf_format_spec_t *out_spec
|
||||
}
|
||||
|
||||
#if NANOPRINTF_USE_FIELD_WIDTH_FORMAT_SPECIFIERS == 1
|
||||
out_spec->field_width = 0;
|
||||
out_spec->field_width_opt = NPF_FMT_SPEC_OPT_NONE;
|
||||
if (*cur == '*')
|
||||
{
|
||||
@ -344,7 +345,6 @@ static int npf_parse_format_spec(char const *format, npf_format_spec_t *out_spec
|
||||
}
|
||||
else
|
||||
{
|
||||
out_spec->field_width = 0;
|
||||
while ((*cur >= '0') && (*cur <= '9'))
|
||||
{
|
||||
out_spec->field_width_opt = NPF_FMT_SPEC_OPT_LITERAL;
|
||||
|
Reference in New Issue
Block a user