diff options
author | Sebastian Geerken <devnull@localhost> | 2012-10-30 09:54:14 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-10-30 09:54:14 +0100 |
commit | 76cf4173b653db09c3bacbb0d01c1e153e52eac4 (patch) | |
tree | e8d33d03e2c6023427ea025197dae2ccd5e8553d /src/cssparser.cc | |
parent | d6b244d49b86d8fb79f44765f50b2674c4cb7aed (diff) | |
parent | 0c62630e68c0d6376ee04f163d48315c725ecf5c (diff) |
Merge with http://hg.dillo.org/dillo
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index bd065234..28b3badb 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -701,7 +701,7 @@ bool CssParser::tokenMatchesProperty(CssPropertyName prop, CssValueType *type) case CSS_TYPE_LENGTH_PERCENTAGE: case CSS_TYPE_LENGTH_PERCENTAGE_NUMBER: case CSS_TYPE_LENGTH: - if (tval[0] == '-') + if (tval[0] == '-') return false; // Fall Through case CSS_TYPE_SIGNED_LENGTH: @@ -1063,7 +1063,7 @@ void CssParser::parseDeclaration(CssPropertyList * props, CssPropertyName prop; CssPropertyValue val, dir_vals[4]; - CssValueType dir_types[4]; + CssValueType dir_types[4]; bool found, weight; int sh_index, i, j, n; int dir_set[4][4] = { |