diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 4 | ||||
-rw-r--r-- | render/layout.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c index 94c550c69..ee9f5b1b4 100644 --- a/render/box.c +++ b/render/box.c @@ -1,5 +1,5 @@ /** - * $Id: box.c,v 1.12 2002/09/08 18:11:56 bursa Exp $ + * $Id: box.c,v 1.13 2002/09/11 14:24:02 monkeyson Exp $ */ #include <assert.h> @@ -113,6 +113,8 @@ struct box * convert_xml_to_box(xmlNode * n, struct css_style * parent_style, xmlNode * c; char * s; + gui_multitask(); + if (n->type == XML_ELEMENT_NODE) { /* work out the style for this element */ *selector = xrealloc(*selector, (depth + 1) * sizeof(struct css_selector)); diff --git a/render/layout.c b/render/layout.c index 7d15fb11b..53f4eedea 100644 --- a/render/layout.c +++ b/render/layout.c @@ -1,5 +1,5 @@ /** - * $Id: layout.c,v 1.14 2002/09/08 18:11:56 bursa Exp $ + * $Id: layout.c,v 1.15 2002/09/11 14:24:02 monkeyson Exp $ */ #include <assert.h> @@ -86,6 +86,8 @@ void layout_node(struct box * box, unsigned long width, struct box * cont, box, width, cont, cx, cy); #endif + gui_multitask(); + switch (box->type) { case BOX_BLOCK: layout_block(box, width, cont, cx, cy); |