diff options
Diffstat (limited to 'src/shared/json.c')
-rw-r--r-- | src/shared/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/json.c b/src/shared/json.c index f1495e99c8..47f801c858 100644 --- a/src/shared/json.c +++ b/src/shared/json.c @@ -150,7 +150,7 @@ static int json_parse_string(const char **p, char **ret) { if (!GREEDY_REALLOC(s, allocated, n + 4)) return -ENOMEM; - n += utf8_encode_unichar(x, s + n); + n += utf8_encode_unichar(s + n, x); c += 5; continue; } else |