summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-10-08 19:49:21 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-10-08 19:49:21 (GMT)
commit709edca30dc6e42ba27c08f19e97b3fe8e27206c (patch)
treef7a92378a8f4d8b2d56be632f44b66b969301fef /generic
parent564afe59062291dd74b51d063275dbe77bf5fb39 (diff)
downloadtk-709edca30dc6e42ba27c08f19e97b3fe8e27206c.zip
tk-709edca30dc6e42ba27c08f19e97b3fe8e27206c.tar.gz
tk-709edca30dc6e42ba27c08f19e97b3fe8e27206c.tar.bz2
Fix [ca403f799b]: ttk::treeview border drawn incorrectly
Diffstat (limited to 'generic')
-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 d957ad2..bef84f3 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -1825,7 +1825,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;
}