summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-22 11:44:33 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-22 11:44:33 (GMT)
commitf1fafe7c16c654a9f7f65644db877071980b8a5d (patch)
tree809599c170de475b92d025cfcab4705ad8a5012b /generic/tclZlib.c
parent44357a25341fc6b531fda7e2d69f83c05ad7702d (diff)
downloadtcl-f1fafe7c16c654a9f7f65644db877071980b8a5d.zip
tcl-f1fafe7c16c654a9f7f65644db877071980b8a5d.tar.gz
tcl-f1fafe7c16c654a9f7f65644db877071980b8a5d.tar.bz2
Move (TCL_ENCODING_PROFILE_MASK|GET|SET) from tcl.h to tclIO.h, since those are not public. Some formatting.
Diffstat (limited to 'generic/tclZlib.c')
-rw-r--r--generic/tclZlib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/generic/tclZlib.c b/generic/tclZlib.c
index 3182c27..5afe1ed 100644
--- a/generic/tclZlib.c
+++ b/generic/tclZlib.c
@@ -453,8 +453,7 @@ GenerateHeader(
if (result == TCL_CONVERT_UNKNOWN) {
Tcl_AppendResult(
interp, "Comment contains characters > 0xFF", NULL);
- }
- else {
+ } else {
Tcl_AppendResult(interp, "Comment too large for zip", NULL);
}
}
@@ -489,8 +488,7 @@ GenerateHeader(
if (result == TCL_CONVERT_UNKNOWN) {
Tcl_AppendResult(
interp, "Filename contains characters > 0xFF", NULL);
- }
- else {
+ } else {
Tcl_AppendResult(
interp, "Filename too large for zip", NULL);
}