summaryrefslogtreecommitdiff
path: root/src/parse/properties
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-20 11:34:59 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-20 11:34:59 +0000
commit3ddde1d46c7bb6620962002c82580074df9bef81 (patch)
treecd2be30200d3237f1443483b72649547548d9d33 /src/parse/properties
parent97449b2e23ef5252cb4f766d9215d14e763a0732 (diff)
downloadlibcss-3ddde1d46c7bb6620962002c82580074df9bef81.tar.gz
libcss-3ddde1d46c7bb6620962002c82580074df9bef81.tar.bz2
Fix obvious bug
svn path=/trunk/libcss/; revision=11111
Diffstat (limited to 'src/parse/properties')
-rw-r--r--src/parse/properties/display_sizing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/properties/display_sizing.c b/src/parse/properties/display_sizing.c
index bfa4821..7647d22 100644
--- a/src/parse/properties/display_sizing.c
+++ b/src/parse/properties/display_sizing.c
@@ -526,7 +526,7 @@ css_error parse_max_width(css_language *c,
/* Copy the bytecode to it */
memcpy((*result)->bytecode, &opv, sizeof(opv));
- if ((flags && FLAG_INHERIT) == false && value == MAX_WIDTH_SET) {
+ if ((flags & FLAG_INHERIT) == false && value == MAX_WIDTH_SET) {
memcpy(((uint8_t *) (*result)->bytecode) + sizeof(opv),
&length, sizeof(length));
memcpy(((uint8_t *) (*result)->bytecode) + sizeof(opv) +