summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2016-04-05 12:12:25 (GMT)
committerdgp@users.sourceforge.net <dgp>2016-04-05 12:12:25 (GMT)
commitd751d00179705b757066499de3266283f0da6287 (patch)
treee5efb2587623039a79f6ee518a71a621565486da
parent73814315991955bca8ffb2c3918830b390c0ac04 (diff)
parent4d0febdf81351ec66adf349e39e3069e6052a367 (diff)
downloadtk-d751d00179705b757066499de3266283f0da6287.zip
tk-d751d00179705b757066499de3266283f0da6287.tar.gz
tk-d751d00179705b757066499de3266283f0da6287.tar.bz2
merge 8.6
-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);