From 600f3ad557dd0ac4e1fea316fe36251363988401 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 11 May 2002 15:22:24 +0000 Subject: [project @ 2002-05-11 15:22:24 by bursa] Better inline layout algorithm, simple tcl/tk gui. svn path=/import/netsurf/; revision=15 --- render/box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render/box.c') 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 @@ -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); -- cgit v1.2.3