From: Khaled Hosny Date: Sat, 20 Oct 2018 14:44:51 +0000 (+0100) Subject: Minor: simplify example code X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e4dd58a4af003eeec93cbe90d1258d91a38b53c;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Minor: simplify example code Co-Authored-By: n8willis --- diff --git a/docs/usermanual-getting-started.xml b/docs/usermanual-getting-started.xml index 188d449..72a3746 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);