diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml index 188d449de..72a374624 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);