From 19f3fd686c98d834c63c51036a37f2bbdc16e2cb Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 29 Aug 2007 20:51:43 +0200 Subject: [PATCH] Compile fix for commit e876df70d849b2ea22f3ed5f14933dc5e13d5102 --- src/document/html/parser.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/document/html/parser.c b/src/document/html/parser.c index 117b6ba9f..89869c19c 100644 --- a/src/document/html/parser.c +++ b/src/document/html/parser.c @@ -702,7 +702,7 @@ get_image_map(unsigned char *head, unsigned char *pos, unsigned char *eof, -struct html_element * +void * init_html_parser_state(struct html_context *html_context, enum html_element_mortality_type type, int align, int margin, int width) @@ -728,8 +728,10 @@ init_html_parser_state(struct html_context *html_context, void done_html_parser_state(struct html_context *html_context, - struct html_element *element) + void *state) { + struct html_element *element = state; + html_context->line_breax = 1; while (html_top != element) {