Object list to FcObjectSetBuild wasnt terminated with 0

This commit is contained in:
Keith Packard 2002-07-03 23:15:32 +00:00
parent f9dc31e81c
commit 084407063d
1 changed files with 2 additions and 2 deletions

View File

@ -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);