summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-21 08:43:25 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-21 08:43:25 (GMT)
commit1238f724da65d098cb652af93972b4d0ac6e8f72 (patch)
treedb1a51b6630ff9c54d35884c90aa11d96cfa92c5 /tests
parenta2432ecdb54d15171a3f5f403048743e09305ea5 (diff)
downloadtk-1238f724da65d098cb652af93972b4d0ac6e8f72.zip
tk-1238f724da65d098cb652af93972b4d0ac6e8f72.tar.gz
tk-1238f724da65d098cb652af93972b4d0ac6e8f72.tar.bz2
Adjusted when <<WidgetViewSync>> fires. Also %d now only has boolean value. Implementation in sync with TIP #438 rev. 1.10
Diffstat (limited to 'tests')
-rw-r--r--tests/text.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/text.test b/tests/text.test
index 3532546..3ba85b7 100644
--- a/tests/text.test
+++ b/tests/text.test
@@ -1035,7 +1035,7 @@ test text-11a.21 {"<<WidgetViewSync>>" event} {
}
.top.yt insert 1.0 $content
update
- bind .top.yt <<WidgetViewSync>> { if {%d == 0} {set yud(%W) 1} }
+ bind .top.yt <<WidgetViewSync>> { if {%d} {set yud(%W) 1} }
# wait for end of line metrics calculation to get correct $fraction1
# as a reference
if {[.top.yt pendingsync]} {vwait yud(.top.yt)}