summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jeffery <lee@leejeffery.co.uk>2015-10-28 23:56:02 +0000
committerLee Jeffery <lee@leejeffery.co.uk>2015-10-28 23:56:02 +0000
commitb7de53ec29dacd30b91796a2e558883f019d0b16 (patch)
tree9c067a4ee7e19862ba0f596f3421032b9b69269f
parent37b7d02f01d840b3519cb75a89672740850029d5 (diff)
Correct string length in cmark_parse_document example.
-rw-r--r--man/man3/cmark.34
-rw-r--r--src/cmark.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/man/man3/cmark.3 b/man/man3/cmark.3
index d14f9a0..26c0d89 100644
--- a/man/man3/cmark.3
+++ b/man/man3/cmark.3
@@ -1,4 +1,4 @@
-.TH cmark 3 "August 07, 2015" "LOCAL" "Library Functions Manual"
+.TH cmark 3 "October 28, 2015" "LOCAL" "Library Functions Manual"
.SH
NAME
.PP
@@ -402,7 +402,7 @@ Simple interface:
.IP
.nf
\f[C]
-cmark_node *document = cmark_parse_document("Hello *world*", 12,
+cmark_node *document = cmark_parse_document("Hello *world*", 13,
CMARK_OPT_DEFAULT);
\f[]
.fi
diff --git a/src/cmark.h b/src/cmark.h
index 3ad4486..79bfbc5 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -368,7 +368,7 @@ CMARK_EXPORT void cmark_consolidate_text_nodes(cmark_node *root);
*
* Simple interface:
*
- * cmark_node *document = cmark_parse_document("Hello *world*", 12,
+ * cmark_node *document = cmark_parse_document("Hello *world*", 13,
* CMARK_OPT_DEFAULT);
*
* Streaming interface: