diff options
Diffstat (limited to 'source/html/css-apply.c')
-rw-r--r-- | source/html/css-apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/css-apply.c b/source/html/css-apply.c index 63a4941c..8284c5ac 100644 --- a/source/html/css-apply.c +++ b/source/html/css-apply.c @@ -349,7 +349,7 @@ match_selector(struct selector *sel, fz_xml *node) if (sel->combine == '+') { fz_xml *prev = fz_xml_prev(node); - while (prev && !fz_xml_tag(prev) && fz_xml_prev(prev)) + while (prev && !fz_xml_tag(prev)) prev = fz_xml_prev(prev); if (!prev) return 0; |