summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-02-02 13:54:48 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-02-02 13:54:48 +0000
commitf1c7c7f072a18d56005075550a11d10259a43c45 (patch)
treed2ca4e7d43758c71439f16b0ab0e444cf254b6e6 /render/box.c
parent3cffe17cc79fa4bf6d755b88157d6d24355bb4c2 (diff)
downloadnetsurf-f1c7c7f072a18d56005075550a11d10259a43c45.tar.gz
netsurf-f1c7c7f072a18d56005075550a11d10259a43c45.tar.bz2
Remove unused line_height stuff for now.
svn path=/trunk/netsurf/; revision=6354
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/render/box.c b/render/box.c
index 32ed2c5b5..08272d166 100644
--- a/render/box.c
+++ b/render/box.c
@@ -102,7 +102,6 @@ struct box * box_create(struct css_style *style,
box->parent = NULL;
box->fallback = NULL;
box->inline_end = NULL;
- box->line_height = 0;
box->float_children = NULL;
box->float_container = NULL;
box->next_float = NULL;
@@ -577,9 +576,6 @@ void box_dump(FILE *stream, struct box *box, unsigned int depth)
fprintf(stream, " ");
fprintf(stream, "%p ", box);
- if (box->type == BOX_INLINE || box->type == BOX_TEXT ||
- box->type == BOX_INLINE_END)
- fprintf(stream, "lh%i ", box->line_height);
fprintf(stream, "x%i y%i w%i h%i ", box->x, box->y,
box->width, box->height);
if (box->max_width != UNKNOWN_MAX_WIDTH)