diff options
author | fvogel <fvogelnew1@free.fr> | 2015-11-19 21:57:36 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2015-11-19 21:57:36 (GMT) |
commit | 811bb84daa1769e2840edf52bdc5922d8370d930 (patch) | |
tree | 6d1b7677d12353a74d245b3e0aeccd3ee49b7bbc /generic/tkTextDisp.c | |
parent | ae5a551ea90e295489c9b93879ddd911615e0536 (diff) | |
download | tk-811bb84daa1769e2840edf52bdc5922d8370d930.zip tk-811bb84daa1769e2840edf52bdc5922d8370d930.tar.gz tk-811bb84daa1769e2840edf52bdc5922d8370d930.tar.bz2 |
Make it compile with Visual 2008
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r-- | generic/tkTextDisp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c index a18e2b9..8f72be0 100644 --- a/generic/tkTextDisp.c +++ b/generic/tkTextDisp.c @@ -2946,8 +2946,8 @@ AsyncUpdateLineMetrics( */ if (textPtr->afterSyncCmd != NULL) { - Tcl_Preserve((ClientData)textPtr->interp); int code = Tcl_EvalObjEx(textPtr->interp, textPtr->afterSyncCmd, TCL_EVAL_GLOBAL); + Tcl_Preserve((ClientData)textPtr->interp); if (code != TCL_OK && code != TCL_CONTINUE && code != TCL_BREAK) { Tcl_AddErrorInfo(textPtr->interp, "\n (text yupdate)"); |