From f1c7c7f072a18d56005075550a11d10259a43c45 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 2 Feb 2009 13:54:48 +0000 Subject: Remove unused line_height stuff for now. svn path=/trunk/netsurf/; revision=6354 --- render/box.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'render/box.c') 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) -- cgit v1.2.3