diff options
author | dgp <dgp@users.sourceforge.net> | 2016-04-05 12:12:25 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-04-05 12:12:25 (GMT) |
commit | cf0612ae9a2719c2f1dec2d3984988caf5d4e126 (patch) | |
tree | e5efb2587623039a79f6ee518a71a621565486da | |
parent | 178f09ee754d6c182457f11aa4b85b96e872f127 (diff) | |
parent | 0970af5f4951894b38cb6e9dcc6b64cdb7e4a41a (diff) | |
download | tk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.zip tk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.tar.gz tk-cf0612ae9a2719c2f1dec2d3984988caf5d4e126.tar.bz2 |
merge 8.6
-rw-r--r-- | generic/tkImgPNG.c | 2 |
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); |