diff options
author | nijtmans <nijtmans> | 2010-11-19 14:48:00 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-11-19 14:48:00 (GMT) |
commit | 92c03979f6743ffce1d4b3ce95309dd43e6aed91 (patch) | |
tree | 9eaa4d7cdfd27dba8884de695e4d76cc5c242381 /generic/tkTextBTree.c | |
parent | c5351831b1c0464bc8b3f2cba1189b71200e7c9c (diff) | |
download | tk-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/tkTextBTree.c')
-rw-r--r-- | generic/tkTextBTree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c index be8d0e9..cd1da60 100644 --- a/generic/tkTextBTree.c +++ b/generic/tkTextBTree.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: tkTextBTree.c,v 1.31 2010/01/02 22:52:38 dkf Exp $ + * RCS: @(#) $Id: tkTextBTree.c,v 1.32 2010/11/19 14:48:00 nijtmans Exp $ */ #include "tkInt.h" @@ -2939,7 +2939,7 @@ TkBTreeNextTag( } searchPtr->linesLeft -= nodePtr->numLines; if (nodePtr->nextPtr == NULL) { - Tcl_Panic("TkBTreeNextTag found incorrect tag summary info."); + Tcl_Panic("TkBTreeNextTag found incorrect tag summary info"); } } nextChild: @@ -3157,7 +3157,7 @@ TkBTreePrevTag( continue; } if (prevNodePtr == NULL) { - Tcl_Panic("TkBTreePrevTag found incorrect tag summary info."); + Tcl_Panic("TkBTreePrevTag found incorrect tag summary info"); } searchPtr->linesLeft -= linesSkipped; nodePtr = prevNodePtr; |