Minor: simplify example code
Co-Authored-By: n8willis <nwillis@glyphography.com>
This commit is contained in:
parent
f9ee0decee
commit
6e4dd58a4a
|
@ -128,7 +128,7 @@
|
||||||
#include <hb.h>
|
#include <hb.h>
|
||||||
hb_buffer_t *buf;
|
hb_buffer_t *buf;
|
||||||
buf = hb_buffer_create();
|
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>
|
</programlisting>
|
||||||
<orderedlist numeration="arabic">
|
<orderedlist numeration="arabic">
|
||||||
<listitem override="2">
|
<listitem override="2">
|
||||||
|
|
Loading…
Reference in New Issue