From 56645f8a8ba0a08ed2bd383b5a1558e5c790bf74 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 11 Jan 2017 16:25:52 +0100 Subject: [PATCH] Fix documentation of `FT_Get_Sfnt_Name'. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem reported by 張俊芝 <418092625@qq.com>. --- include/freetype/ftsnames.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/freetype/ftsnames.h b/include/freetype/ftsnames.h index d94a86cc1..f6daf8c7d 100644 --- a/include/freetype/ftsnames.h +++ b/include/freetype/ftsnames.h @@ -147,8 +147,8 @@ FT_BEGIN_HEADER /* */ /* */ /* The `string' array returned in the `aname' structure is not */ - /* null-terminated. The application should deallocate it if it is no */ - /* longer in use. */ + /* null-terminated. Note that you don't have to deallocate `string' */ + /* by yourself; FreeType takes care of it if you call @FT_Done_Face. */ /* */ /* Use @FT_Get_Sfnt_Name_Count to get the total number of available */ /* `name' table entries, then do a loop until you get the right */