summaryrefslogtreecommitdiffstats
path: root/tests/text.test
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)
commit1a731b58c6acc4fdf2a52225f3093b02c313639e (patch)
treedb1a51b6630ff9c54d35884c90aa11d96cfa92c5 /tests/text.test
parenta727d801d1ea737527e3067411dd6935b444f9bb (diff)
downloadtk-1a731b58c6acc4fdf2a52225f3093b02c313639e.zip
tk-1a731b58c6acc4fdf2a52225f3093b02c313639e.tar.gz
tk-1a731b58c6acc4fdf2a52225f3093b02c313639e.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/text.test')
-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)}