From 411fdc6186434382d0ffaa45a104ecce106c1b47 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 9 Aug 2012 17:46:56 +0100 Subject: fix return check on lwc operation --- css/select.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'css') diff --git a/css/select.c b/css/select.c index fa38b4ef8..84b8550ac 100644 --- a/css/select.c +++ b/css/select.c @@ -801,8 +801,7 @@ css_error node_has_name(void *pw, void *node, nscss_select_ctx *ctx = pw; dom_node *n = node; - lwc_string_isequal(qname->name, ctx->universal, match); - if (*match == false) { + if (lwc_string_isequal(qname->name, ctx->universal, match) == lwc_error_ok && *match == false) { dom_string *name; dom_exception err; -- cgit v1.2.3