Check correct variable for error.

svn path=/trunk/netsurf/; revision=10428
This commit is contained in:
John Mark Bell 2010-04-18 16:07:34 +00:00
parent 9a95ad79d1
commit 69d0119a48

View File

@ -410,7 +410,7 @@ css_error nscss_request_import(struct content_css_data *c,
0, ctx->referer, NULL, nscss_import, ctx,
&child, accept,
&c->imports[c->import_count++].c);
if (error != NSERROR_OK) {
if (nerror != NSERROR_OK) {
return CSS_NOMEM;
}