summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2022-01-23 19:05:15 +0100
committerWerner Lemberg <wl@gnu.org>2022-01-23 19:05:15 +0100
commitef48a332712ab4b3b509a3a2f2f045763c238b61 (patch)
treee8d3ccdf5059975c632473aa110432a154ac82a2 /include
parentcddfe6574b1f96104b7c89bdc1979b54d69ba3e0 (diff)
downloadfreetype2-ef48a332712ab4b3b509a3a2f2f045763c238b61.tar.gz
* src/svg/ftsvg.c (ft_svg_property_set): Disallow NULL pointers.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/otsvg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/freetype/otsvg.h b/include/freetype/otsvg.h
index 2b3c00f29..2caadfdee 100644
--- a/include/freetype/otsvg.h
+++ b/include/freetype/otsvg.h
@@ -223,6 +223,8 @@ FT_BEGIN_HEADER
* For example, in the preset hook one can draw the glyph on a recorder
* surface and later create a bitmap surface from it in the render hook.
*
+ * All four hooks must be non-NULL.
+ *
* @fields:
* init_svg ::
* The initialization hook.