diff options
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 2550e74e..5ef53dcf 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -685,9 +685,9 @@ bool CssParser::parseRgbColorComponent(int32_t *cc, int *percentage) { MSG_CSS("expected integer not found in %s color\n", "rgb"); return false; } - + *cc = strtol(tval, NULL, 10); - + nextToken(); if (ttype == CSS_TK_CHAR && tval[0] == '%') { if (*percentage == 0) { |