summaryrefslogtreecommitdiff
path: root/fc-pattern
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:33:34 -0600
committerBehdad Esfahbod <behdad@behdad.org>2013-01-03 20:34:41 -0600
commit17eda89ed2e24a3fc5f68538dd7fd9ada8efb087 (patch)
tree47f98f4ce40d1154e970fbae827bb3355d731d62 /fc-pattern
parent102a4344dd7f668cf03b9665c718505050e0ae78 (diff)
Remove FcInit() calls from tools
Library is supposed to automatically initialize itself. If it doesn't, it's a bug.
Diffstat (limited to 'fc-pattern')
-rw-r--r--fc-pattern/fc-pattern.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fc-pattern/fc-pattern.c b/fc-pattern/fc-pattern.c
index 84eb1ee..3f066c1 100644
--- a/fc-pattern/fc-pattern.c
+++ b/fc-pattern/fc-pattern.c
@@ -134,11 +134,6 @@ main (int argc, char **argv)
i = 1;
#endif
- if (!FcInit ())
- {
- fprintf (stderr, "Can't init font config library\n");
- return 1;
- }
if (argv[i])
{
pat = FcNameParse ((FcChar8 *) argv[i]);