diff options
author | Keith Packard <keithp@koto.keithp.com> | 2007-10-25 00:41:28 -0700 |
---|---|---|
committer | Keith Packard <keithp@koto.keithp.com> | 2007-10-25 00:41:28 -0700 |
commit | 4657944d0c39a640b2e30dfbd95f13d79a99460b (patch) | |
tree | c54da3d50f5c7a295c9b90de9f843a0afb36aaa2 /src | |
parent | 28baf727367513ad06ddb1c53daff062e8f39e8c (diff) |
FcInit should return FcFalse when FcInitLoadConfigAndFonts fails. (bug 10976)
Thanks to David <ssdk@ispras.ru> for spotting this error.
Diffstat (limited to 'src')
-rw-r--r-- | src/fcinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcinit.c b/src/fcinit.c index 693e0b7b..96aaa449 100644 --- a/src/fcinit.c +++ b/src/fcinit.c @@ -123,7 +123,7 @@ FcInit (void) return FcTrue; config = FcInitLoadConfigAndFonts (); if (!config) - return FcTrue; + return FcFalse; FcConfigSetCurrent (config); if (FcDebug() & FC_DBG_MEMORY) FcMemReport (); |