summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.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 /win/tkWinDraw.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 'win/tkWinDraw.c')
-rw-r--r--win/tkWinDraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c
index edb804c..5e2c415 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinDraw.c,v 1.24 2009/08/02 21:40:16 nijtmans Exp $
+ * RCS: @(#) $Id: tkWinDraw.c,v 1.25 2010/11/19 14:48:00 nijtmans Exp $
*/
#include "tkWinInt.h"
@@ -585,7 +585,7 @@ TkPutImage(
ckfree((char *) infoPtr);
}
if (!bitmap) {
- Tcl_Panic("Fail to allocate bitmap\n");
+ Tcl_Panic("Fail to allocate bitmap");
DeleteDC(dcMem);
TkWinReleaseDrawableDC(d, dc, &state);
return;