mirror of
https://github.com/0intro/wmii
synced 2024-11-25 23:30:24 +03:00
Fix iconv bug.
This commit is contained in:
parent
0fe6adab27
commit
9f87cf8cc5
@ -29,7 +29,7 @@ toutf8n(const char *str, size_t nstr) {
|
||||
|
||||
iconv(cd, nil, nil, nil, nil);
|
||||
|
||||
bsize = nstr << 1;
|
||||
bsize = (nstr+1) << 1;
|
||||
buf = emalloc(bsize);
|
||||
pos = buf;
|
||||
nbuf = bsize-1;
|
||||
|
Loading…
Reference in New Issue
Block a user