summaryrefslogtreecommitdiff
path: root/misc/deco/files/patch-ad
blob: 7d31bcbbe06fdc5f1a9d1c6f76ba33e47aeec4a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Index: dir.c
@@ -358,8 +358,10 @@
 
 	d->topfile = d->curfile = 0;
 
+	if (d->sort != SORTSKIP) {
 	compdir = d;
 	qsort ((char*)d->cat, (unsigned) d->num, sizeof (d->cat[0]), compfile);
+	}
 
 	if (! dirname) {
 		/* retag files, restore curfile */