diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 19:06:02 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-02-06 19:06:02 +0100 |
commit | c34bff4996a888b92e6d546b82a388f787325470 (patch) | |
tree | 7c1db872e2444c56ed736c2ceceea2a3ff87cf82 /src/cssparser.cc | |
parent | 2f4c8b74ebe3ccf0569eda982bbd2afc5473687b (diff) |
fix check for 'none' in Css_token_matches_property()
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index 31cad941..b8facb6d 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -566,7 +566,7 @@ static bool Css_token_matches_property(CssParser * parser, case CSS_TYPE_MULTI_ENUM: if (parser->ttype == CSS_TK_SYMBOL) { - if (dStrcasecmp(parser->tval, "none") != 0) + if (dStrcasecmp(parser->tval, "none") == 0) return true; else { for (i = 0; Css_property_info[prop].enum_symbols[i]; i++) { |