summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-08-04 14:59:13 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-08-04 14:59:13 +0100
commit2ea5ca5805326a07311745e9cdb39fb30215716f (patch)
tree277f446b699ab1e4ed73c8e73f987271994307ba /render/box.c
parenta807d762f9bfd06c903ab220c68e021c8ae99d37 (diff)
downloadnetsurf-2ea5ca5805326a07311745e9cdb39fb30215716f.tar.gz
netsurf-2ea5ca5805326a07311745e9cdb39fb30215716f.tar.bz2
Remove unwanted debug.
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c
index 494311994..0c71a96b4 100644
--- a/render/box.c
+++ b/render/box.c
@@ -446,8 +446,7 @@ struct box *box_at_point(struct box *box, const int x, const int y,
int bx = *box_x, by = *box_y;
struct box *child, *sibling;
bool physically;
-printf("x0:%i y0:%i x1:%i y1:%i\n", box->descendant_x0, box->descendant_y0,
- box->descendant_y0, box->descendant_y1);
+
assert(box);
/* consider floats first, since they will often overlap other boxes */