summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-06-26 22:14:08 +0000
committerKeith Packard <keithp@keithp.com>2002-06-26 22:14:08 +0000
commitc552f59ba27ab1a526238f6ff4d15a2b9a975a7f (patch)
treedd05d35b349d11a29080e6606662ea511e4c39f5
parent223c028949c1ef316c93bea17278f58150c777ee (diff)
downloadfontconfig-c552f59ba27ab1a526238f6ff4d15a2b9a975a7f.tar.gz
Permit empty charsets in fonts.cache files
-rw-r--r--src/fcname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fcname.c b/src/fcname.c
index ad78c3d..f61cf59 100644
--- a/src/fcname.c
+++ b/src/fcname.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/lib/fontconfig/src/fcname.c,v 1.7 2002/06/03 08:31:15 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fcname.c,v 1.8 2002/06/19 20:08:22 keithp Exp $
*
* Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
*
@@ -383,7 +383,7 @@ FcNameParse (const FcChar8 *name)
for (;;)
{
name = FcNameFindNext (name, ":,", save, &delim);
- if (save[0] && t)
+ if (t)
{
v = FcNameConvert (t->type, save, &m);
if (!FcPatternAdd (pat, t->object, v, FcTrue))