draw: len is mandatory

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-07-01 15:05:00 +02:00
parent 7fa9c39a6b
commit 4e2e8a3653
1 changed files with 0 additions and 3 deletions

View File

@ -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;