From df7531f6887d1469c5da942b59ddd202de83b8e7 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Thu, 5 Jun 2008 19:03:30 +0100 Subject: [PATCH] Correct file exposed by @dirs and @files! Organization: Straylight/Edgeware From: Richard Kettlewell --- cgi/macros-disorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/macros-disorder.c b/cgi/macros-disorder.c index 88d1701..cecd304 100644 --- a/cgi/macros-disorder.c +++ b/cgi/macros-disorder.c @@ -869,7 +869,7 @@ static int exp__files_dirs(int nargs, if((rc = mx_expand(mx_rewritel(m, "index", make_index(n), "parity", n % 2 ? "odd" : "even", - "track", tracks[n], + "track", e[n].track, "first", n == 0 ? "true" : "false", "last", n + 1 == ntracks ? "false" : "true", "sort", e[n].sort, -- [mdw]