Minor: simplify example code

Co-Authored-By: n8willis <nwillis@glyphography.com>
This commit is contained in:
Khaled Hosnyandn8willis committed 2018-10-30 19:14:57 +02:00
1 parent f9ee0decee
commit 6e4dd58a4a
1 file changed
+1 -1
+1 -1
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">