From 2241693cf8c7ff6c3a533ea64ee21171e8e1a078 Mon Sep 17 00:00:00 2001 From: das Date: Thu, 31 May 2007 13:39:25 +0000 Subject: * generic/tkFont.c: #ifdef out debug msg printing to stderr. FossilOrigin-Name: 1151a2bedae7ed71fda32eac07461907884fb7fe --- 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