]> git.wh0rd.org - fontconfig.git/commitdiff
In debugging output, mark weakly bound values with (w) fcpackage_2_1
authorKeith Packard <keithp@keithp.com>
Fri, 22 Nov 2002 02:12:16 +0000 (02:12 +0000)
committerKeith Packard <keithp@keithp.com>
Fri, 22 Nov 2002 02:12:16 +0000 (02:12 +0000)
src/fcdbg.c

index 6acbce233bb9f467f7a98c6d8bcdd552226d1f44..e519d1057ab1f33d822ba076ff42ab4882a3cc13 100644 (file)
@@ -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