diff options
author | fvogel <fvogelnew1@free.fr> | 2015-11-28 22:18:58 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-11-28 22:18:58 (GMT) |
commit | 8fd7d7784f01c76fd4cb02b9a66cc435194a8bc4 (patch) | |
tree | 516df4c61eab956a0c8d87b5c24248d14cf7c85f /generic/tkText.c | |
parent | d4935822945fc05094daf4d28bf5a3405fe1ba7b (diff) | |
download | tk-8fd7d7784f01c76fd4cb02b9a66cc435194a8bc4.zip tk-8fd7d7784f01c76fd4cb02b9a66cc435194a8bc4.tar.gz tk-8fd7d7784f01c76fd4cb02b9a66cc435194a8bc4.tar.bz2 |
Fixed indentation
Diffstat (limited to 'generic/tkText.c')
-rw-r--r-- | generic/tkText.c | 16 |
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, |