summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-15 15:15:50 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-15 15:15:50 (GMT)
commitd66350b2d96335fcf44b14f8bebd87ac9c307cd9 (patch)
tree66faeae4427da32d160fb6232d42f905b62f5676 /generic/tclCmdAH.c
parentbbe4542d364121720a36d12051e45c8c42cf25d9 (diff)
parentf2882138fdb10093e33cbe23ad4eb5dea4461e6a (diff)
downloadtcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.zip
tcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.tar.gz
tcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.tar.bz2
redundant end-of-line spacing
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index cce2829..807a1ac 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -749,8 +749,8 @@ EncodingConvertfromObjCmd(
return TCL_ERROR;
}
- /*
- * Convert the string into a byte array in 'ds'
+ /*
+ * Convert the string into a byte array in 'ds'
*/
bytesPtr = (char *) Tcl_GetByteArrayFromObj(data, &length);
Tcl_ExternalToUtfDString(encoding, bytesPtr, length, &ds);
@@ -812,18 +812,18 @@ EncodingConverttoObjCmd(
Tcl_WrongNumArgs(interp, 1, objv, "?encoding? data");
return TCL_ERROR;
}
-
+
/*
* Convert the string to a byte array in 'ds'
*/
-
+
stringPtr = TclGetStringFromObj(data, &length);
Tcl_UtfToExternalDString(encoding, stringPtr, length, &ds);
- Tcl_SetObjResult(interp,
+ Tcl_SetObjResult(interp,
Tcl_NewByteArrayObj((unsigned char*) Tcl_DStringValue(&ds),
Tcl_DStringLength(&ds)));
Tcl_DStringFree(&ds);
-
+
/*
* We're done with the encoding
*/
@@ -934,7 +934,7 @@ EncodingSystemObjCmd(ClientData dummy, /* Unused */
return TCL_ERROR;
}
if (objc == 1) {
- Tcl_SetObjResult(interp,
+ Tcl_SetObjResult(interp,
Tcl_NewStringObj(Tcl_GetEncodingName(NULL), -1));
} else {
return Tcl_SetSystemEncoding(interp, TclGetString(objv[1]));