From 7657345c1031eacedd734ddbc62a29de776672f4 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 22 Nov 2002 02:12:16 +0000 Subject: [PATCH] In debugging output, mark weakly bound values with (w) --- src/fcdbg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2