diff options
Diffstat (limited to 'wtf8.c')
-rw-r--r-- | wtf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ void print_octets(char *s) { /* * Iterate through the string, printing each octet, ending with a newline */ - while (c = *s++) + while ((c = *s++)) printf("%c%02x", (is_utf8_cont(c) ? '-' : ' '), c); putchar('\n'); |