diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2016-02-13 22:36:31 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2016-02-13 22:36:31 +0000 |
commit | 672119e509bd266bbb31ea0c18e3de3a6987f55e (patch) | |
tree | bc367619c6e3a53735a3e3152260324dbe617f22 | |
parent | 72308c1f0d52df89e813b39db3ac85068331af85 (diff) | |
download | netsurf-672119e509bd266bbb31ea0c18e3de3a6987f55e.tar.gz netsurf-672119e509bd266bbb31ea0c18e3de3a6987f55e.tar.bz2 |
Fix background attribute handling.
-rw-r--r-- | css/hints.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |