summaryrefslogtreecommitdiffstats
path: root/generic/tkMenu.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-11-19 14:48:00 (GMT)
committernijtmans <nijtmans>2010-11-19 14:48:00 (GMT)
commit92c03979f6743ffce1d4b3ce95309dd43e6aed91 (patch)
tree9eaa4d7cdfd27dba8884de695e4d76cc5c242381 /generic/tkMenu.c
parentc5351831b1c0464bc8b3f2cba1189b71200e7c9c (diff)
downloadtk-92c03979f6743ffce1d4b3ce95309dd43e6aed91.zip
tk-92c03979f6743ffce1d4b3ce95309dd43e6aed91.tar.gz
tk-92c03979f6743ffce1d4b3ce95309dd43e6aed91.tar.bz2
Revise Tcl_Panic() calls ending with a newline removing the newline, because Tcl_Panic() outputs a final newline already
Diffstat (limited to 'generic/tkMenu.c')
-rw-r--r--generic/tkMenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index 9b2b4e3..f9ea395 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMenu.c,v 1.60 2010/05/10 20:58:18 nijtmans Exp $
+ * RCS: @(#) $Id: tkMenu.c,v 1.61 2010/11/19 14:48:00 nijtmans Exp $
*/
/*
@@ -1211,7 +1211,7 @@ DestroyMenuInstance(
}
}
} else if (menuPtr->nextInstancePtr != NULL) {
- Tcl_Panic("Attempting to delete master menu when there are still clones.");
+ Tcl_Panic("Attempting to delete master menu when there are still clones");
}
/*
@@ -2480,7 +2480,7 @@ MenuAddOrInsert(
menuRefPtr = TkFindMenuReferencesObj(menuListPtr->interp,
newCascadePtr);
if (menuRefPtr == NULL) {
- Tcl_Panic("CloneMenu failed inside of MenuAddOrInsert.");
+ Tcl_Panic("CloneMenu failed inside of MenuAddOrInsert");
}
newObjv[0] = menuNamePtr;
newObjv[1] = newCascadePtr;