summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogelnew1@free.fr <fvogel>2015-11-28 22:18:58 (GMT)
committerfvogelnew1@free.fr <fvogel>2015-11-28 22:18:58 (GMT)
commita14cb372dd2a07630372cfd7f00e07ed5260bc79 (patch)
tree516df4c61eab956a0c8d87b5c24248d14cf7c85f /generic
parent73e9bccf4c0212610224aeb961b2c2ef24090000 (diff)
downloadtk-a14cb372dd2a07630372cfd7f00e07ed5260bc79.zip
tk-a14cb372dd2a07630372cfd7f00e07ed5260bc79.tar.gz
tk-a14cb372dd2a07630372cfd7f00e07ed5260bc79.tar.bz2
Fixed indentation
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,