diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2018-10-20 15:44:51 +0100 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2018-10-30 19:14:57 +0200 |
commit | 6e4dd58a4af003eeec93cbe90d1258d91a38b53c (patch) | |
tree | 8315ed819bdde035a5354560dd7ba9c8a1a79342 | |
parent | f9ee0deceebd8952a8d80f3fd7b264b33e70f703 (diff) |
Minor: simplify example code
Co-Authored-By: n8willis <nwillis@glyphography.com>
-rw-r--r-- | docs/usermanual-getting-started.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml index 188d449d..72a37462 100644 --- a/docs/usermanual-getting-started.xml +++ b/docs/usermanual-getting-started.xml @@ -128,7 +128,7 @@ #include <hb.h> hb_buffer_t *buf; buf = hb_buffer_create(); - hb_buffer_add_utf8(buf, text, strlen(text), 0, strlen(text)); + hb_buffer_add_utf8(buf, text, -1, 0, -1); </programlisting> <orderedlist numeration="arabic"> <listitem override="2"> |