luna: Fix %% skipping a character

This commit is contained in:
apio 2023-02-27 16:27:45 +01:00
parent 9afff7c544
commit b978d02cfb
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -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;
} }