From b978d02cfb5c2968cba0e6ae4eb09205f891f0df Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 27 Feb 2023 16:27:45 +0100 Subject: [PATCH] luna: Fix %% skipping a character --- libluna/src/Format.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libluna/src/Format.cpp b/libluna/src/Format.cpp index adb90550..cd756852 100644 --- a/libluna/src/Format.cpp +++ b/libluna/src/Format.cpp @@ -477,6 +477,7 @@ Result cstyle_format(const char* format, callback_t callback, void* arg, if (*format == '%') { TRY(format_putchar('%', state)); + format++; continue; }