summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-02-14 23:22:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-02-14 23:22:56 -0800
commit45b33b463c8acc2c0ff37e209387d6b664576cc4 (patch)
treeed9b8d21930c29c15ca4f5ba166f7a5105b489af /mkfontscale.c
parent623a620bde1988e105b2fe814a3158da0e7b863c (diff)
Sort contents of encodings.dir
Allows easier comparison between builds to detect changes. Helps reduce deltas in packaging systems that compare old & new versions. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index ea4cd27..ef3f490 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -978,6 +978,7 @@ doDirectory(char *dirname_given, int numEncodings, ListPtr encodingsToDo)
exit(1);
}
fprintf(encfile, "%d\n", numEncodings);
+ encodingsToDo = sortList(encodingsToDo);
for(lp = encodingsToDo; lp; lp = lp->next) {
fprintf(encfile, "%s\n", lp->value);
}