changeset 796:68f6aa2124ac

cosmetic change to CssSelector::match()
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 21 Jan 2009 18:42:30 +0100
parents 0d838b3dc1a6
children 780557535771
files src/css.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Wed Jan 21 17:34:37 2009 +0100
+++ b/src/css.cc	Wed Jan 21 18:42:30 2009 +0100
@@ -81,7 +81,7 @@
    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)