diff: cosmetic change on top of last commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-07-09 19:44:38 +02:00
parent 61f5f7823c
commit 32a6baeefa

View File

@ -761,9 +761,9 @@ static int FAST_FUNC add_to_dirlist(const char *filename,
{
struct dlist *const l = userdata;
const char *file = filename + l->len;
l->dl = xrealloc_vector(l->dl, 6, l->e);
while(*file == '/')
file++;
l->dl = xrealloc_vector(l->dl, 6, l->e);
l->dl[l->e] = xstrdup(file);
l->e++;
return TRUE;