diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-24 01:44:50 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-02-24 01:44:50 +1300 |
commit | 418a160d1d0c78583cd39eff59198ca6438275fb (patch) | |
tree | 53b6cf446983437625b407746c84c4a08f1672a4 | |
parent | Nice POSIX makefile (diff) | |
download | wtf8-418a160d1d0c78583cd39eff59198ca6438275fb.tar.gz wtf8-418a160d1d0c78583cd39eff59198ca6438275fb.zip |
Terser while loop
-rw-r--r-- | wtf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ void print_characters(char *s) { * Print two spaces, and then the full character */ printf(" "); - for (; c > 0; c--) + while (c--) putchar(*s++); } |