summaryrefslogtreecommitdiff
path: root/fc-list
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2002-07-03 23:15:32 +0000
committerKeith Packard <keithp@keithp.com>2002-07-03 23:15:32 +0000
commit084407063d0069b16b24e1fd8be818af12e36741 (patch)
treea5aa14d814c40d74dfa184a6cc39f70765c36efa /fc-list
parentf9dc31e81cd27be1bcb72706ac667889840f60bb (diff)
Object list to FcObjectSetBuild wasnt terminated with 0
Diffstat (limited to 'fc-list')
-rw-r--r--fc-list/fc-list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fc-list/fc-list.c b/fc-list/fc-list.c
index 45c6295..f8ca6b2 100644
--- a/fc-list/fc-list.c
+++ b/fc-list/fc-list.c
@@ -1,5 +1,5 @@
/*
- * $XFree86: xc/lib/fontconfig/fc-list/fc-list.c,v 1.2 2002/02/15 06:01:26 keithp Exp $
+ * $XFree86: xc/lib/fontconfig/fc-list/fc-list.c,v 1.5 2002/06/30 23:45:40 keithp Exp $
*
* Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc.
*
@@ -124,7 +124,7 @@ main (int argc, char **argv)
pat = FcPatternCreate ();
if (!os)
- os = FcObjectSetBuild (FC_FAMILY, FC_STYLE);
+ os = FcObjectSetBuild (FC_FAMILY, FC_STYLE, 0);
fs = FcFontList (0, pat, os);
if (pat)
FcPatternDestroy (pat);