luna: Fix %% skipping a character
This commit is contained in:
parent
9afff7c544
commit
b978d02cfb
@ -477,6 +477,7 @@ Result<usize> cstyle_format(const char* format, callback_t callback, void* arg,
|
|||||||
if (*format == '%')
|
if (*format == '%')
|
||||||
{
|
{
|
||||||
TRY(format_putchar('%', state));
|
TRY(format_putchar('%', state));
|
||||||
|
format++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user