From 672119e509bd266bbb31ea0c18e3de3a6987f55e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 13 Feb 2016 22:36:31 +0000 Subject: Fix background attribute handling. --- css/hints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css') diff --git a/css/hints.c b/css/hints.c index b8e655996..356153983 100644 --- a/css/hints.c +++ b/css/hints.c @@ -1487,7 +1487,7 @@ static void css_hint_bg_image( (const char *)dom_string_data(attr), &url); dom_string_unref(attr); - if (error != NSERROR_OK) { + if (error == NSERROR_OK) { lwc_string *iurl; lwc_error lerror = lwc_intern_string(nsurl_access(url), nsurl_length(url), &iurl); -- cgit v1.2.3