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 88d1701cc9545ae75d96095c1358a12f17c9ac5d..cecd30487e8e906639500a722e763efbe55361b3 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,