summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authordas <das>2007-05-31 13:39:26 (GMT)
committerdas <das>2007-05-31 13:39:26 (GMT)
commiteb5bb113c80470c68abe015d2b9c755f3127e38b (patch)
tree10a537e61c27bd6efdb25c00c39fadfa24dedc67 /generic/tkFont.c
parent8657912b7317999d2cfc40193a166592bd22b23c (diff)
downloadtk-eb5bb113c80470c68abe015d2b9c755f3127e38b.zip
tk-eb5bb113c80470c68abe015d2b9c755f3127e38b.tar.gz
tk-eb5bb113c80470c68abe015d2b9c755f3127e38b.tar.bz2
* generic/tkFont.c: #ifdef out debug msg printing to stderr.
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r--generic/tkFont.c4
1 files changed, 3 insertions, 1 deletions
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) {