From 3ddde1d46c7bb6620962002c82580074df9bef81 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Mon, 20 Dec 2010 11:34:59 +0000 Subject: Fix obvious bug svn path=/trunk/libcss/; revision=11111 --- src/parse/properties/display_sizing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) + -- cgit v1.2.3