summaryrefslogtreecommitdiff
path: root/src/cssparser.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-11 22:21:13 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-11-11 22:21:13 +0100
commitc76ae0059b90c0ed62918d9e4a1a2e0b739f00b7 (patch)
treeec2a98a0d649f5b3760aadaea80b60dde71b335e /src/cssparser.cc
parenta6cf7cc8777f33cf04510fd7cb4d26e55a3a3d25 (diff)
use CssProperty::FontWeightExtensions
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) {