From fb853c93541554f383827dd84aee12a05afe6a75 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 7 Aug 2012 15:16:50 +0100 Subject: Fix attribute includes selector callback. --- css/select.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'css/select.c') diff --git a/css/select.c b/css/select.c index 59f2641cc..fa38b4ef8 100644 --- a/css/select.c +++ b/css/select.c @@ -1058,8 +1058,9 @@ css_error node_has_attribute_includes(void *pw, void *node, const char *start; const char *end; + *match = false; + if (vlen == 0) { - *match = false; return CSS_OK; } -- cgit v1.2.3