summaryrefslogtreecommitdiff
path: root/desktop/tree.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-06-03 19:49:36 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-06-03 19:49:36 +0100
commit8fda149baeaad32fa646522c3562ad806bdaf6a1 (patch)
treea2f86213ff32512b125400fd5a3fa3d49b25a430 /desktop/tree.c
parent088d60ec9662d2ecc34410fbaf6a7ff05c9e5558 (diff)
downloadnetsurf-8fda149baeaad32fa646522c3562ad806bdaf6a1.tar.gz
netsurf-8fda149baeaad32fa646522c3562ad806bdaf6a1.tar.bz2
Make heights signed, to simplify comparison with struct rect values, which are signed.
Diffstat (limited to 'desktop/tree.c')
-rw-r--r--desktop/tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index 92a25109c..07a69f39e 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -244,7 +244,8 @@ static void treeview_test_redraw(struct tree *tree, int x, int y,
clip.y0 = clip_y;
clip.x1 = clip_x + clip_width;
clip.y1 = clip_y + clip_height;
-
+LOG(("x:%i, y:%i, clip x0:%i, clip y0:%i, clip x1:%i, clip y1:%i\n",
+ x, y, clip.x0, clip.y0, clip.x1, clip.y1));
global_history_redraw(x, y, &clip, ctx);
}