From 084407063d0069b16b24e1fd8be818af12e36741 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 3 Jul 2002 23:15:32 +0000 Subject: [PATCH] Object list to FcObjectSetBuild wasnt terminated with 0 --- fc-list/fc-list.c | 4 ++-- 1 file 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); -- 2.39.5