From: Keith Packard Date: Fri, 22 Nov 2002 02:12:16 +0000 (+0000) Subject: In debugging output, mark weakly bound values with (w) X-Git-Tag: fcpackage_2_1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=7657345c1031eacedd734ddbc62a29de776672f4;p=fontconfig.git In debugging output, mark weakly bound values with (w) --- 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