freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[freetype2] master 56645f8: Fix documentation of `FT_Get_Sfnt_Name'.


From: Werner LEMBERG
Subject: [freetype2] master 56645f8: Fix documentation of `FT_Get_Sfnt_Name'.
Date: Wed, 11 Jan 2017 15:26:43 +0000 (UTC)

branch: master
commit 56645f8a8ba0a08ed2bd383b5a1558e5c790bf74
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>

    Fix documentation of `FT_Get_Sfnt_Name'.
    
    Problem reported by 張俊芝 <address@hidden>.
---
 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 d94a86c..f6daf8c 100644
--- a/include/freetype/ftsnames.h
+++ b/include/freetype/ftsnames.h
@@ -147,8 +147,8 @@ FT_BEGIN_HEADER
   /*                                                                       */
   /* <Note>                                                                */
   /*    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       */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]