From eb5bb113c80470c68abe015d2b9c755f3127e38b Mon Sep 17 00:00:00 2001 From: das Date: Thu, 31 May 2007 13:39:26 +0000 Subject: * generic/tkFont.c: #ifdef out debug msg printing to stderr. --- generic/tkFont.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/generic/tkFont.c b/generic/tkFont.c index b75009c..4c11dcd 100644 --- a/generic/tkFont.c +++ b/generic/tkFont.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkFont.c,v 1.21.2.1 2005/11/22 11:56:12 dkf Exp $ + * RCS: @(#) $Id: tkFont.c,v 1.21.2.2 2007/05/31 13:39:26 das Exp $ */ #include "tkPort.h" @@ -432,8 +432,10 @@ TkFontPkgFree(mainPtr) searchPtr != NULL; searchPtr = Tcl_NextHashEntry(&search)) { fontsLeft++; +#ifdef DEBUG_FONTS fprintf(stderr, "Font %s still in cache.\n", Tcl_GetHashKey(&fiPtr->fontCache, searchPtr)); +#endif } #ifdef PURIFY if (fontsLeft) { -- cgit v0.12