summaryrefslogtreecommitdiff
path: root/render/layout.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2014-08-04 14:49:35 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2014-08-04 14:49:35 +0100
commita807d762f9bfd06c903ab220c68e021c8ae99d37 (patch)
tree255a97a7b6552ad206bd0ac0bef625d8e8bcc5d0 /render/layout.c
parent04ea4b52a07b49655b39df8f26496b66049a7f81 (diff)
downloadnetsurf-a807d762f9bfd06c903ab220c68e021c8ae99d37.tar.gz
netsurf-a807d762f9bfd06c903ab220c68e021c8ae99d37.tar.bz2
mailto urls don't have passwords or ports, so we don't need to look for ':'.
Diffstat (limited to 'render/layout.c')
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 5b0d8a004..e0f0a349d 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -5068,7 +5068,7 @@ 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;
}
}