In debugging output, mark weakly bound values with (w)

This commit is contained in:
Keith Packard 2002-11-22 02:12:16 +00:00
parent 02c3d2e9ea
commit 7657345c10
1 changed files with 5 additions and 1 deletions

View 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