aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wtf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wtf8.c b/wtf8.c
index b8839ce..e400db9 100644
--- a/wtf8.c
+++ b/wtf8.c
@@ -46,7 +46,7 @@ void print_characters(char *s) {
* Print blanks and increment a counter until we find how long this
* character is
*/
- for (c = 1; s[c] && is_utf8_cont(s[c]); c++)
+ for (c = 1; is_utf8_cont(s[c]); c++)
printf(" ");
/*