fix return check on lwc operation
This commit is contained in:
parent
b0ca8175bb
commit
411fdc6186
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue