aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 18:42:30 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-21 18:42:30 +0100
commitd8cfe548aa07ec4330d9760714a4312988135250 (patch)
tree97932fb422ea334d9e495a1f1b77eb7e3f9c5c68 /src
parent23999196884a3269cf61257e5dfb10e26063cb14 (diff)
cosmetic change to CssSelector::match()
Diffstat (limited to 'src')
-rw-r--r--src/css.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.cc b/src/css.cc
index 03580e0c..86c52c0f 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -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)