summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-07-17 14:37:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-07-17 14:37:55 (GMT)
commitcb9e4e227a1944d0aecb05a3555d274403b461ae (patch)
treec1bc6090ca3b681191069bb4d5737224384a07db /generic
parent7757971b1caae65bfd790c58264dea840caef6cd (diff)
downloadtk-cb9e4e227a1944d0aecb05a3555d274403b461ae.zip
tk-cb9e4e227a1944d0aecb05a3555d274403b461ae.tar.gz
tk-cb9e4e227a1944d0aecb05a3555d274403b461ae.tar.bz2
corrected reversed logic in assert -> panic conversion
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 06fa261..a40f981 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.17 2002/07/16 23:29:33 mdejong Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.18 2002/07/17 14:37:55 dgp Exp $
*/
#include "tkPort.h"
@@ -435,8 +435,6 @@ TkFontPkgFree(mainPtr)
fprintf(stderr, "Font %s still in cache.\n",
Tcl_GetHashKey(&fiPtr->fontCache, searchPtr));
}
- if (fontsLeft == 0)
- panic("no fontsLeft");
#ifdef PURIFY
if (fontsLeft) {
panic("TkFontPkgFree: all fonts should have been freed already");