From 32a6baeefaf040fb04fee7be3ea7c6e60b95f5bd Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 9 Jul 2010 19:44:38 +0200 Subject: [PATCH] diff: cosmetic change on top of last commit Signed-off-by: Denys Vlasenko --- editors/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1