diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2026-06-29 17:43:03 +0000 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2026-06-29 17:43:03 +0000 |
| commit | 25ccc2599aa722b0552193961d4cda15928112d8 (patch) | |
| tree | d562abe7d1539665aaa9861d0615f039d3ff7bfa /xs_json.h | |
| parent | 6fc748933ad263ba0e8c78eb9ae1e085a2b0dfb2 (diff) | |
| parent | 795355acb496a8a8f015a80edf48f38786894f86 (diff) | |
Merge branch 'master' of https://codeberg.org/grunfink/snac2
Diffstat (limited to 'xs_json.h')
| -rw-r--r-- | xs_json.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -281,7 +281,7 @@ static xs_val *_xs_json_load_lexer(FILE *f, js_type *t) } /* replace dangerous control codes with their visual representations */ - if (cp < ' ' && !strchr("\r\n\t", cp)) + if (cp == 0 || (cp < ' ' && !strchr("\r\n\t", cp))) cp += 0x2400; break; |