summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-11-22 02:12:16 +0000
committerKeith Packard <keithp@keithp.com>2002-11-22 02:12:16 +0000
commit7657345c1031eacedd734ddbc62a29de776672f4 (patch)
tree38f21b3570addd8609ffedbdccf37368e81de682
parent02c3d2e9eabcecdcc46bc166afc511b22f3ddbae (diff)
In debugging output, mark weakly bound values with (w)fcpackage_2_1
-rw-r--r--src/fcdbg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fcdbg.c b/src/fcdbg.c
index 6acbce2..e519d10 100644
--- a/src/fcdbg.c
+++ b/src/fcdbg.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/lib/fontconfig/src/fcdbg.c,v 1.8 2002/08/19 19:32:05 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/src/fcdbg.c,v 1.10 2002/08/22 18:53:22 keithp Exp $
*
* Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc.
*
@@ -64,7 +64,11 @@ void
FcValueListPrint (const FcValueList *l)
{
for (; l; l = l->next)
+ {
FcValuePrint (l->value);
+ if (l->binding == FcValueBindingWeak)
+ printf ("(w)");
+ }
}
void