summaryrefslogtreecommitdiff
path: root/xs_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'xs_json.h')
-rw-r--r--xs_json.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xs_json.h b/xs_json.h
index b65e825..a4112b0 100644
--- a/xs_json.h
+++ b/xs_json.h
@@ -274,7 +274,7 @@ static xs_val *_xs_json_load_lexer(FILE *f, js_type *t)
break;
}
- v = xs_utf8_enc(v, cp);
+ v = xs_utf8_cat(v, cp);
}
else {
char cc = c;