summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-04-05 12:12:25 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-04-05 12:12:25 (GMT)
commitcf0612ae9a2719c2f1dec2d3984988caf5d4e126 (patch)
treee5efb2587623039a79f6ee518a71a621565486da /generic
parent178f09ee754d6c182457f11aa4b85b96e872f127 (diff)
parent0970af5f4951894b38cb6e9dcc6b64cdb7e4a41a (diff)
downloadtk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.zip
tk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.tar.gz
tk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.tar.bz2
merge 8.6
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgPNG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPNG.c b/generic/tkImgPNG.c
index 2ee515b..c6e3029 100644
--- a/generic/tkImgPNG.c
+++ b/generic/tkImgPNG.c
@@ -335,7 +335,7 @@ InitPNGImage(
if (Tcl_ZlibStreamInit(NULL, dir, TCL_ZLIB_FORMAT_ZLIB,
TCL_ZLIB_COMPRESS_DEFAULT, NULL, &pngPtr->stream) != TCL_OK) {
- if (interp) {
+ if (interp) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"zlib initialization failed", -1));
Tcl_SetErrorCode(interp, "TK", "IMAGE", "PNG", "ZLIB_INIT", NULL);