chiark / gitweb /
Correct file exposed by @dirs and @files!
authorRichard Kettlewell <rjk@greenend.org.uk>
Thu, 5 Jun 2008 18:03:30 +0000 (19:03 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Thu, 5 Jun 2008 18:03:30 +0000 (19:03 +0100)
cgi/macros-disorder.c

index 88d1701..cecd304 100644 (file)
@@ -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,