diff: cosmetic change on top of last commit

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@
 {
 	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;