aboutsummaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r--src/cssparser.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc
index c01d8edc..f45a6c80 100644
--- a/src/cssparser.cc
+++ b/src/cssparser.cc
@@ -658,13 +658,13 @@ static bool Css_parse_value (CssParser *parser,
ival = 0;
} else if (parser->ttype == CSS_TK_SYMBOL) {
if (strcmp (parser->tval, "normal") == 0)
- ival = CSS_FONT_WEIGHT_NORMAL;
+ ival = CssProperty::CSS_FONT_WEIGHT_NORMAL;
if (strcmp (parser->tval, "bold") == 0)
- ival = CSS_FONT_WEIGHT_BOLD;
+ ival = CssProperty::CSS_FONT_WEIGHT_BOLD;
if (strcmp (parser->tval, "bolder") == 0)
- ival = CSS_FONT_WEIGHT_BOLDER;
+ ival = CssProperty::CSS_FONT_WEIGHT_BOLDER;
if (strcmp (parser->tval, "lighter") == 0)
- ival = CSS_FONT_WEIGHT_LIGHTER;
+ ival = CssProperty::CSS_FONT_WEIGHT_LIGHTER;
}
if (ival != 0) {