summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2005-05-29 10:32:30 (GMT)
committerdas <das>2005-05-29 10:32:30 (GMT)
commitcb6e873ea67d1d9d6a00d58e8f326ab02370a14f (patch)
tree6dc35aa6ac2ff8f7d28f7e21c42958bf7b27c6e1
parent1318232a2f5374634ca72cc501c9b189a51386b4 (diff)
downloadtk-cb6e873ea67d1d9d6a00d58e8f326ab02370a14f.zip
tk-cb6e873ea67d1d9d6a00d58e8f326ab02370a14f.tar.gz
tk-cb6e873ea67d1d9d6a00d58e8f326ab02370a14f.tar.bz2
* macosx/tkMacOSXFont.c: use Tcl_Panic instead of panic.
-rw-r--r--ChangeLog2
-rw-r--r--macosx/tkMacOSXFont.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6e49b48..6e7996c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2005-05-29 Daniel Steffen <das@users.sourceforge.net>
+ * macosx/tkMacOSXFont.c: use Tcl_Panic instead of panic.
+
* unix/configure.in: added description of HAVE_XSS for autoheader.
* unix/configure: autoconf-2.59
* unix/tkConfig.h.in: autoheader-2.59
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index d74d150..443b0a2 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.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: tkMacOSXFont.c,v 1.7 2005/05/14 20:48:15 das Exp $
+ * RCS: @(#) $Id: tkMacOSXFont.c,v 1.8 2005/05/29 10:32:30 das Exp $
*/
#include <Carbon/Carbon.h>
@@ -2113,7 +2113,7 @@ GetUtfFaceName(
return mapPtr->utfName;
}
}
- panic("GetUtfFaceName: unexpected nativeName");
+ Tcl_Panic("GetUtfFaceName: unexpected nativeName");
return NULL;
}