summaryrefslogtreecommitdiff
path: root/src/css.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/css.cc')
-rw-r--r--src/css.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.cc b/src/css.cc
index aeea6cc8..9a681f6a 100644
--- a/src/css.cc
+++ b/src/css.cc
@@ -93,7 +93,7 @@ bool CssSelector::match (Doctree *docTree) {
n = node;
while (true) {
- if (node == NULL || node->num < *notMatchingBefore) {
+ if (node == NULL || node->num <= *notMatchingBefore) {
*notMatchingBefore = n->num;
return false;
}