draw: len is mandatory
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
7fa9c39a6b
commit
4e2e8a3653
|
@ -68,9 +68,6 @@ draw_iso2utf8(const char *iso, size_t len)
|
|||
size_t utf8len;
|
||||
char *utf8, *utf8p;
|
||||
|
||||
if(len < 0)
|
||||
len = a_strlen(iso);
|
||||
|
||||
if(!len)
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue