fix return check on lwc operation

This commit is contained in:
Vincent Sanders 2012-08-09 17:46:56 +01:00
parent b0ca8175bb
commit 411fdc6186
1 changed files with 1 additions and 2 deletions

View File

@ -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;