summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-20 22:17:33 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-20 22:17:33 +0000
commit9afb0d739e96a8b5a8ac4a2ae19803443135d0e2 (patch)
tree79b49521ea7e17ac7e2761990d43fc67fab5bf5b /utf8.c
parent6f2169037ecbadef09520e50ec4f2ef029f097a9 (diff)
%zu not %u, doh.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 52cc709e..00b1c736 100644
--- a/utf8.c
+++ b/utf8.c
@@ -227,7 +227,7 @@ utf8_open(struct utf8_data *utf8data, u_char ch)
/*
* Append character to UTF-8, closing if finished.
*
- * Returns 1 if more UTF-8 data to come, 1 if finished.
+ * Returns 1 if more UTF-8 data to come, 0 if finished.
*/
int
utf8_append(struct utf8_data *utf8data, u_char ch)