diff options
author | das <das> | 2007-05-31 13:39:26 (GMT) |
---|---|---|
committer | das <das> | 2007-05-31 13:39:26 (GMT) |
commit | acd16374dad7acf6caa71211164740319297644f (patch) | |
tree | 10a537e61c27bd6efdb25c00c39fadfa24dedc67 /generic | |
parent | a752a9bab00913bc1b68626e347b517288c02b9b (diff) | |
download | tk-acd16374dad7acf6caa71211164740319297644f.zip tk-acd16374dad7acf6caa71211164740319297644f.tar.gz tk-acd16374dad7acf6caa71211164740319297644f.tar.bz2 |
* generic/tkFont.c: #ifdef out debug msg printing to stderr.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkFont.c | 4 |
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) { |