From 2ea5ca5805326a07311745e9cdb39fb30215716f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 4 Aug 2014 14:59:13 +0100 Subject: Remove unwanted debug. --- render/box.c | 3 +-- render/layout.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'render') 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 */ diff --git a/render/layout.c b/render/layout.c index e0f0a349d..ffea31d17 100644 --- a/render/layout.c +++ b/render/layout.c @@ -5068,7 +5068,6 @@ static void layout_get_box_bbox(struct box *box, int *desc_x0, int *desc_y0, css_computed_font_size(box->style, &font_size, &font_unit); text_height = nscss_len2px(font_size, font_unit, box->style); -printf("%i", text_height); *desc_y0 = (*desc_y0 < -text_height) ? *desc_y0 : -text_height; } } -- cgit v1.2.3