From 210165afdec42b89eb69bb2ae9f7231dba265e4f Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 3 Jan 2009 21:48:53 +0100 Subject: reorder code in Html_tag_open_ul() --- src/html.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/html.cc') diff --git a/src/html.cc b/src/html.cc index 510156ce..2ed56d69 100644 --- a/src/html.cc +++ b/src/html.cc @@ -2552,9 +2552,6 @@ static void Html_tag_open_ul(DilloHtml *html, const char *tag, int tagsize) const char *attrbuf; ListStyleType list_style_type; - DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ()); - Html_add_textblock(html, 9); - if ((attrbuf = a_Html_get_attr(html, tag, tagsize, "type"))) { CssPropertyList props; @@ -2573,6 +2570,9 @@ static void Html_tag_open_ul(DilloHtml *html, const char *tag, int tagsize) html->styleEngine->setNonCssHints (&props); } + DW2TB(html->dw)->addParbreak (9, html->styleEngine->wordStyle ()); + Html_add_textblock(html, 9); + S_TOP(html)->list_type = HTML_LIST_UNORDERED; S_TOP(html)->list_number = 0; S_TOP(html)->ref_list_item = NULL; -- cgit v1.2.3