summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authordas <das>2007-05-31 13:31:26 (GMT)
committerdas <das>2007-05-31 13:31:26 (GMT)
commit36fe2eaa0c3efd2b3073d5bfac82e0c1f86eefeb (patch)
tree51a70f6a3cdd6d9096fbaa3989d94e4db6535f58 /generic/tkFont.c
parent7c78d0f584294fc456b57548f288c73296a163c3 (diff)
downloadtk-36fe2eaa0c3efd2b3073d5bfac82e0c1f86eefeb.zip
tk-36fe2eaa0c3efd2b3073d5bfac82e0c1f86eefeb.tar.gz
tk-36fe2eaa0c3efd2b3073d5bfac82e0c1f86eefeb.tar.bz2
* generic/tkFont.c: #ifdef out debug msg printing to stderr.
* generic/tkTextDisp.c:
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 6bc8196..dac1ede 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -10,7 +10,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.35 2007/05/11 11:00:48 patthoyts Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.36 2007/05/31 13:31:26 das Exp $
*/
#include "tkPort.h"
@@ -425,8 +425,10 @@ TkFontPkgFree(
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