diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-21 18:42:30 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-01-21 18:42:30 +0100 |
commit | d8cfe548aa07ec4330d9760714a4312988135250 (patch) | |
tree | 97932fb422ea334d9e495a1f1b77eb7e3f9c5c68 /src/css.cc | |
parent | 23999196884a3269cf61257e5dfb10e26063cb14 (diff) |
cosmetic change to CssSelector::match()
Diffstat (limited to 'src/css.cc')
-rw-r--r-- | src/css.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ bool CssSelector::match (Doctree *docTree) { for (int i = selectorList->size () - 2; i >= 0; i--) { sel = &selectorList->getRef (i)->selector; comb = selectorList->getRef (i + 1)->combinator; - notMatchingBefore = &selectorList->getRef (i + 1)->notMatchingBefore; + notMatchingBefore = &selectorList->getRef (i)->notMatchingBefore; node = docTree->parent (node); if (node == NULL) |