lib/header_internal.c (headerGetLangs): Fix stupid X<=Y<=Z comparison
This commit is contained in:
parent
fe6df19341
commit
4ce1b4bead
@ -21,7 +21,7 @@ char ** headerGetLangs(Header h)
|
||||
if ((table = (char **)xcalloc((count+1), sizeof(char *))) == NULL)
|
||||
return NULL;
|
||||
|
||||
for (i = 0, e = *s; i < count > 0; i++, e += strlen(e)+1)
|
||||
for (i = 0, e = *s; i < count; i++, e += strlen(e)+1)
|
||||
table[i] = e;
|
||||
table[count] = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user