summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-02-24 01:23:35 +0000
committerKeith Packard <keithp@keithp.com>2002-02-24 01:23:35 +0000
commitc5350655bef34cc08739bed324a482473b2a01b8 (patch)
tree4b291669381703f7336b9a46d65b9091a301a480 /src
parentbbbaac369186f6d2c21d28a091e4a8b6259f8e8a (diff)
Check font edit value lists for emptydri-20020222-merge
Diffstat (limited to 'src')
-rw-r--r--src/fccfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fccfg.c b/src/fccfg.c
index 52d89cca..91373d39 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/lib/fontconfig/src/fccfg.c,v 1.2 2002/02/15 06:01:27 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fccfg.c,v 1.3 2002/02/19 08:33:23 keithp Exp $
*
* Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
*
@@ -849,7 +849,7 @@ FcConfigValues (FcPattern *p, FcExpr *e)
l->value = FcConfigEvaluate (p, e);
l->next = 0;
}
- while (l->value.type == FcTypeVoid)
+ while (l && l->value.type == FcTypeVoid)
{
FcValueList *next = l->next;