diff options
author | Lee Jeffery <lee@leejeffery.co.uk> | 2015-10-28 23:56:02 +0000 |
---|---|---|
committer | Lee Jeffery <lee@leejeffery.co.uk> | 2015-10-28 23:56:02 +0000 |
commit | b7de53ec29dacd30b91796a2e558883f019d0b16 (patch) | |
tree | 9c067a4ee7e19862ba0f596f3421032b9b69269f | |
parent | 37b7d02f01d840b3519cb75a89672740850029d5 (diff) |
Correct string length in cmark_parse_document example.
-rw-r--r-- | man/man3/cmark.3 | 4 | ||||
-rw-r--r-- | src/cmark.h | 2 |
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: |