summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-08 15:26:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-08 15:26:37 (GMT)
commite1c1025a87901b4aed358668090787dcbd9c66a4 (patch)
tree013d41edac7cf35604f8d981794561d0fbdf841b /generic/tkTextDisp.c
parent25b8569df74d9afc67272322fe89a9ff6dc05a2e (diff)
parentbbee82687e00816590da59ee75cfb3aa06d59476 (diff)
downloadtk-e1c1025a87901b4aed358668090787dcbd9c66a4.zip
tk-e1c1025a87901b4aed358668090787dcbd9c66a4.tar.gz
tk-e1c1025a87901b4aed358668090787dcbd9c66a4.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 61b0df0..3aa83ee 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -6528,7 +6528,7 @@ GetXView(
Tcl_DStringAppend(&buf, textPtr->xScrollCmd, -1);
Tcl_DStringAppend(&buf, buf1, -1);
Tcl_DStringAppend(&buf, buf2, -1);
- code = Tcl_EvalEx(interp, Tcl_DStringValue(&buf), -1, 0);
+ code = Tcl_EvalEx(interp, Tcl_DStringValue(&buf), -1, TCL_EVAL_GLOBAL);
Tcl_DStringFree(&buf);
if (code != TCL_OK) {
Tcl_AddErrorInfo(interp,
@@ -6813,7 +6813,7 @@ GetYView(
Tcl_DStringAppend(&buf, textPtr->yScrollCmd, -1);
Tcl_DStringAppend(&buf, buf1, -1);
Tcl_DStringAppend(&buf, buf2, -1);
- code = Tcl_EvalEx(interp, Tcl_DStringValue(&buf), -1, 0);
+ code = Tcl_EvalEx(interp, Tcl_DStringValue(&buf), -1, TCL_EVAL_GLOBAL);
Tcl_DStringFree(&buf);
if (code != TCL_OK) {
Tcl_AddErrorInfo(interp,