From 11448a0742b7636f2845f19b4824247793d3bcdf Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 20 Nov 2024 09:14:39 -0300 Subject: [PATCH] Restored default char --- src/mini_printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mini_printf.c b/src/mini_printf.c index 89580f62214e..e4b893724284 100644 --- a/src/mini_printf.c +++ b/src/mini_printf.c @@ -49,7 +49,7 @@ struct mini_buff static inline char mini_pchar_decode(char encoded) { - char ret = '~'; + char ret = '?'; if (encoded >= CHAR_a && encoded <= CHAR_z) ret = encoded-(CHAR_a-'a'); // lower-case characters else if (encoded >= CHAR_A && encoded <= CHAR_Z)