Minor: simplify example code

Co-Authored-By: n8willis <nwillis@glyphography.com>
This commit is contained in:
Khaled Hosny 2018-10-20 15:44:51 +01:00
parent f9ee0decee
commit 6e4dd58a4a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@
#include &lt;hb.h&gt;
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">