summaryrefslogtreecommitdiffstats
path: root/generic/ttk
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-10-17 19:55:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-10-17 19:55:21 (GMT)
commit3f2088affeee65dd4f0653429128dfa0a125d1ab (patch)
tree5a5a7028cf8879dae13a2911b794c281341fd746 /generic/ttk
parent70385d2f5041501defd7445e9e56eff43b95341b (diff)
parent6ea733d5e7b13d60d368d7bbe6067e2647e47d19 (diff)
downloadtk-3f2088affeee65dd4f0653429128dfa0a125d1ab.zip
tk-3f2088affeee65dd4f0653429128dfa0a125d1ab.tar.gz
tk-3f2088affeee65dd4f0653429128dfa0a125d1ab.tar.bz2
Fix [ca403f799b]: ttk::treeview border drawn incorrectly
Diffstat (limited to 'generic/ttk')
-rw-r--r--generic/ttk/ttkTreeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c
index 8d16b19..7aad8ae 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -1823,7 +1823,7 @@ static int DrawSubtree(
static int DrawForest(
Treeview *tv, TreeItem *item, Drawable d, int depth, int row)
{
- while (item && row <= tv->tree.yscroll.last) {
+ while (item && row < tv->tree.yscroll.last) {
row = DrawSubtree(tv, item, d, depth, row);
item = item->next;
}