summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-05-11 15:22:24 +0000
committerJames Bursa <james@netsurf-browser.org>2002-05-11 15:22:24 +0000
commit600f3ad557dd0ac4e1fea316fe36251363988401 (patch)
tree72160c08f0313eac0ceb505c68d38a3e9ee63ff5 /render/box.c
parent91300f840ff90b108658a63bb8fdfe21a8f45c4b (diff)
downloadnetsurf-600f3ad557dd0ac4e1fea316fe36251363988401.tar.gz
netsurf-600f3ad557dd0ac4e1fea316fe36251363988401.tar.bz2
[project @ 2002-05-11 15:22:24 by bursa]
Better inline layout algorithm, simple tcl/tk gui. svn path=/import/netsurf/; revision=15
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c
index 2966e70af..f857a3461 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1,5 +1,5 @@
/**
- * $Id: box.c,v 1.2 2002/05/04 21:17:06 bursa Exp $
+ * $Id: box.c,v 1.3 2002/05/11 15:22:24 bursa Exp $
*/
#include <assert.h>
@@ -72,7 +72,7 @@ struct box * xml_to_box(xmlNode * n, struct css_style * parent_style, struct css
memcpy(style, parent_style, sizeof(struct css_style));
css_get_style(stylesheet, *selector, depth + 1, style);
- if (s = xmlGetProp(n, "style")) {
+ if ((s = xmlGetProp(n, "style"))) {
struct css_style * astyle = xcalloc(1, sizeof(struct css_style));
memcpy(astyle, &css_empty_style, sizeof(struct css_style));
css_parse_property_list(astyle, s);