summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-07-09 17:44:38 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-07-09 17:44:38 (GMT)
commit32a6baeefaf040fb04fee7be3ea7c6e60b95f5bd (patch)
treefc56f1340ef3cb6f2eedbb083f45545dae27e625
parent61f5f7823c4f217dd9bad2f1df547f81b9338c76 (diff)
downloadbusybox-32a6baeefaf040fb04fee7be3ea7c6e60b95f5bd.tar.gz
busybox-32a6baeefaf040fb04fee7be3ea7c6e60b95f5bd.tar.bz2
diff: cosmetic change on top of last commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--editors/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/diff.c b/editors/diff.c
index 8d91b83..3e20483 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;