summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-01-02 18:25:29 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-01-02 18:25:29 (GMT)
commit0eeed8ea89fe5aaab65b470f3ab9915d8ae9ce8f (patch)
treeb37f78f3582d7d1c95c0a84a65d74b12d05be7e9 /generic/tkTextDisp.c
parent19deb1cb04936981e905f5985497e4386dde5f9c (diff)
downloadtk-0eeed8ea89fe5aaab65b470f3ab9915d8ae9ce8f.zip
tk-0eeed8ea89fe5aaab65b470f3ab9915d8ae9ce8f.tar.gz
tk-0eeed8ea89fe5aaab65b470f3ab9915d8ae9ce8f.tar.bz2
Fix the build for Windows with MSVC
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index ecd2427..38c63a2 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -3077,8 +3077,8 @@ AsyncUpdateLineMetrics(
*/
if (textPtr->afterSyncCmd) {
- Tcl_CancelIdleCall(TkTextRunAfterSyncCmd, textPtr);
int code;
+ Tcl_CancelIdleCall(TkTextRunAfterSyncCmd, textPtr);
Tcl_Preserve((ClientData) textPtr->interp);
code = Tcl_EvalObjEx(textPtr->interp, textPtr->afterSyncCmd,
TCL_EVAL_GLOBAL);