summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) +