diff options
author | Leah Neukirchen <leah@vuxu.org> | 2018-11-14 17:15:53 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2018-11-14 17:15:53 +0100 |
commit | cf15239377c2354b0efe30ad4a4e3974e469e8be (patch) | |
tree | c684ae898a843fece5f223016caa9c02b3634ce7 | |
parent | 4235c384ab4f21ba3a1d5e908a08701f40735494 (diff) | |
download | mblaze-cf15239377c2354b0efe30ad4a4e3974e469e8be.tar.gz mblaze-cf15239377c2354b0efe30ad4a4e3974e469e8be.tar.xz mblaze-cf15239377c2354b0efe30ad4a4e3974e469e8be.zip |
safe_u8putstr: whitespace fix
-rw-r--r-- | safe_u8putstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |