mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-30 01:54:21 +01:00
Minor: simplify example code
Co-Authored-By: n8willis <nwillis@glyphography.com>
This commit is contained in:
1 parent
f9ee0decee
commit
6e4dd58a4a
1 file changed
+1
-1
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user