summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2015-11-28 22:18:58 (GMT)
committerfvogel <fvogel@noemail.net>2015-11-28 22:18:58 (GMT)
commit1fcce4ece34f9709a6cc6428fa6acf616f5ad96e (patch)
tree516df4c61eab956a0c8d87b5c24248d14cf7c85f /generic
parent6d3ba7e74093ae7b3b348e4ff84126fe6d3d2e86 (diff)
downloadtk-1fcce4ece34f9709a6cc6428fa6acf616f5ad96e.zip
tk-1fcce4ece34f9709a6cc6428fa6acf616f5ad96e.tar.gz
tk-1fcce4ece34f9709a6cc6428fa6acf616f5ad96e.tar.bz2
Fixed indentation
FossilOrigin-Name: ec3ea7f73b18c96eac56ec92e71b4028286eeee1
Diffstat (limited to 'generic')
-rw-r--r--generic/tkText.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index 09e656f..a2b7dde 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -1510,19 +1510,19 @@ TextWidgetObjCmd(
if (textPtr->afterSyncCmd) {
Tcl_DecrRefCount(textPtr->afterSyncCmd);
}
- textPtr->afterSyncCmd = cmd;
+ textPtr->afterSyncCmd = cmd;
} else {
- result = Tcl_EvalObjEx(interp, cmd, TCL_EVAL_GLOBAL);
- Tcl_DecrRefCount(cmd);
+ result = Tcl_EvalObjEx(interp, cmd, TCL_EVAL_GLOBAL);
+ Tcl_DecrRefCount(cmd);
}
- break;
+ break;
} else if (objc != 2) {
- Tcl_WrongNumArgs(interp, 2, objv, "?-command command?");
- result = TCL_ERROR;
- goto done;
+ Tcl_WrongNumArgs(interp, 2, objv, "?-command command?");
+ result = TCL_ERROR;
+ goto done;
}
if (textPtr->afterSyncCmd) {
- Tcl_DecrRefCount(textPtr->afterSyncCmd);
+ Tcl_DecrRefCount(textPtr->afterSyncCmd);
}
textPtr->afterSyncCmd = NULL;
TkTextUpdateLineMetrics(textPtr, 1,