summaryrefslogtreecommitdiffstats
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
parentbbe4542d364121720a36d12051e45c8c42cf25d9 (diff)
parentf2882138fdb10093e33cbe23ad4eb5dea4461e6a (diff)
downloadtcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.zip
tcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.tar.gz
tcl-d66350b2d96335fcf44b14f8bebd87ac9c307cd9.tar.bz2
redundant end-of-line spacing
-rw-r--r--generic/tclCmdAH.c14
-rw-r--r--generic/tclCompCmds.c4
-rw-r--r--generic/tclExecute.c2
3 files changed, 10 insertions, 10 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]));
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index de02172..b9bc228 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -778,11 +778,11 @@ TclCompileClockClicksCmd(
|| tokenPtr[1].size < 4
|| tokenPtr[1].size > 13) {
return TCL_ERROR;
- } else if (!strncmp(tokenPtr[1].start, "-microseconds",
+ } else if (!strncmp(tokenPtr[1].start, "-microseconds",
tokenPtr[1].size)) {
TclEmitInstInt1(INST_CLOCK_READ, 1, envPtr);
break;
- } else if (!strncmp(tokenPtr[1].start, "-milliseconds",
+ } else if (!strncmp(tokenPtr[1].start, "-milliseconds",
tokenPtr[1].size)) {
TclEmitInstInt1(INST_CLOCK_READ, 2, envPtr);
break;
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index f695499..ad80b28 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -7669,7 +7669,7 @@ TEBCresume(
Tcl_WideInt wval;
Tcl_Time now;
switch(TclGetUInt1AtPtr(pc+1)) {
- case 0: /* clicks */
+ case 0: /* clicks */
#ifdef TCL_WIDE_CLICKS
wval = TclpGetWideClicks();
#else