mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[smjs] Assertion failure
This commit is contained in:
parent
acf7527624
commit
123a053b55
@ -239,10 +239,7 @@ add_jschars_to_utf8_string(struct string *utf8,
|
||||
}
|
||||
}
|
||||
|
||||
if (unicode == 0) {
|
||||
if (!add_char_to_string(utf8, '\0'))
|
||||
return NULL;
|
||||
} else {
|
||||
if (unicode) {
|
||||
if (!add_to_string(utf8, encode_utf8(unicode)))
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user