Skip to content

Commit

Permalink
Restored default char
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo authored Nov 20, 2024
1 parent dc8a54b commit 11448a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mini_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 11448a0

Please sign in to comment.