diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-12 22:56:22 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-12 22:56:43 +0100 |
commit | 7a3fb32bff44a581d6926bfaf5f070f8ef062338 (patch) | |
tree | 93fd77ca4191951fbd3653327ca123f94f2d7112 /src | |
parent | 77512303946a27d4f9b9ffc30f0aeb6c31f59e1c (diff) | |
download | chawan-7a3fb32bff44a581d6926bfaf5f070f8ef062338.tar.gz |
cssparser: fix a parseAnB bug
Just a typo...
Diffstat (limited to 'src')
-rw-r--r-- | src/css/cssparser.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css/cssparser.nim b/src/css/cssparser.nim index 0e1726e9..6f26629b 100644 --- a/src/css/cssparser.nim +++ b/src/css/cssparser.nim @@ -916,7 +916,7 @@ proc parseAnB*(state: var CSSParseState): Option[CSSAnB] = else: return none(CSSAnB) let tok3 = get_tok fail_non_signless_integer tok3, some((-1, 0)) - return some((-1, sign * int(tok2.nvalue))) + return some((-1, sign * int(tok3.nvalue))) else: fail_non_integer tok2, some((-1, 0)) return some((-1, int(tok2.nvalue))) |