diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-09-02 14:52:37 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-09-02 14:52:37 -0700 |
commit | 9b511b290548ad2920cda94507a3311efc461e8a (patch) | |
tree | 70364fc6cd2261b99f4f22277ad0a4bf9ec81140 /fc-cat | |
parent | 813258dc8e3a8c964af49abe810e76a95241926d (diff) |
Unify directory canonicalization into FcStrAddFilename.
Instead of making filename canonicalization occur in multiple places, it
occurs only in FcStrAddFilename now, as all filenames pass through that
function at one point.
Diffstat (limited to 'fc-cat')
-rw-r--r-- | fc-cat/fc-cat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cat/fc-cat.c b/fc-cat/fc-cat.c index 71b416f..bb804ab 100644 --- a/fc-cat/fc-cat.c +++ b/fc-cat/fc-cat.c @@ -321,7 +321,7 @@ main (int argc, char **argv) { for (; i < argc; i++) { - if (!FcStrSetAdd (args, argv[i])) + if (!FcStrSetAddFilename (args, argv[i])) { fprintf (stderr, "%s: malloc failure\n", argv[0]); return 1; |