summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 987bafa..9981e1d 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkText.c,v 1.47 2003/12/05 17:19:06 vincentdarley Exp $
+ * RCS: @(#) $Id: tkText.c,v 1.48 2004/01/13 02:06:00 davygrvy Exp $
*/
#include "default.h"
@@ -2465,7 +2465,7 @@ TextFetchSelection(clientData, offset, buffer, maxBytes)
*/
if (!TkBTreeNextTag(&search)) {
- panic("TextFetchSelection couldn't find end of range");
+ Tcl_Panic("TextFetchSelection couldn't find end of range");
}
/*
@@ -2848,7 +2848,7 @@ TextSearchCmd(textPtr, interp, objc, objv)
searchSpec.exact = 0;
break;
default:
- panic("unexpected switch fallthrough");
+ Tcl_Panic("unexpected switch fallthrough");
}
}
endOfSwitchProcessing:
@@ -3539,7 +3539,7 @@ TextDumpCmd(textPtr, interp, objc, objv)
command = Tcl_GetString(objv[arg]);
break;
default:
- panic("unexpected switch fallthrough");
+ Tcl_Panic("unexpected switch fallthrough");
}
}
if (arg >= objc || arg+2 < objc) {