summaryrefslogtreecommitdiff
path: root/css/css.c
diff options
context:
space:
mode:
Diffstat (limited to 'css/css.c')
-rw-r--r--css/css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/css/css.c b/css/css.c
index 4d5e5a7d2..a81880912 100644
--- a/css/css.c
+++ b/css/css.c
@@ -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;
}