summaryrefslogtreecommitdiff
path: root/src/fcfreetype.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-10-11 17:26:52 +0200
committerBehdad Esfahbod <behdad@behdad.org>2017-10-11 17:27:02 +0200
commitf4a2a1e577f6d6fe40469fb0ab68eb0b5f42465c (patch)
tree7277417dfc293a0d8d504f558e19d2af81d8b01c /src/fcfreetype.c
parentc41c9220181b203d1cf1f6435f6e3735cb7c84ac (diff)
downloadfontconfig-f4a2a1e577f6d6fe40469fb0ab68eb0b5f42465c.tar.gz
Remove assert
Diffstat (limited to 'src/fcfreetype.c')
-rw-r--r--src/fcfreetype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 8cee5a7..23138a9 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2109,7 +2109,8 @@ FcFreeTypeQueryAll(const FcChar8 *file,
if (num_instances && (!index_set || instance_num))
{
FT_Get_MM_Var (face, &mm_var);
- assert (mm_var);
+ if (!mm_var)
+ num_instances = 0;
}
if (count)