From cf15239377c2354b0efe30ad4a4e3974e469e8be Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 14 Nov 2018 17:15:53 +0100 Subject: [PATCH] safe_u8putstr: whitespace fix --- safe_u8putstr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safe_u8putstr.c b/safe_u8putstr.c index 54cd231..6696545 100644 --- a/safe_u8putstr.c +++ b/safe_u8putstr.c @@ -34,7 +34,7 @@ safe_u8putstr(char *s0, size_t l, FILE *stream) fputc(0xc0 | (*s >> 6), stream); fputc(0x80 | (*s & 0x3f), stream); } - } else if (c < 32 && + } else if (c < 32 && *s != ' ' && *s != '\t' && *s != '\n' && *s != '\r') { // NUL if (l == 0)