From: Denys Vlasenko Date: Fri, 9 Jul 2010 17:44:38 +0000 (+0200) Subject: diff: cosmetic change on top of last commit X-Git-Tag: 1_18_0~435 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32a6baeefaf040fb04fee7be3ea7c6e60b95f5bd;p=oweals%2Fbusybox.git diff: cosmetic change on top of last commit Signed-off-by: Denys Vlasenko --- diff --git a/editors/diff.c b/editors/diff.c index 8d91b83bf..3e2048330 100644 --- a/editors/diff.c +++ b/editors/diff.c @@ -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;