[PATCH] Use correct return type in _ft_new_face

Adrian Johnson ajohnson at redneon.com
Fri Oct 31 03:41:01 PDT 2008


---
 poppler/CairoFontEngine.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index 587275d..61e00a3 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -313,7 +313,7 @@ _ft_new_face (FT_Library lib,
   {
     cairo_font_face_destroy (l->font_face);
     _ft_done_face (l);
-    return NULL;
+    return gFalse;
   }
 
   *face_out = l->face;
-- 
1.5.6.3


--------------090504070501070603020308
Content-Type: text/x-patch;
 name="0003-Allow-multiple-instances-of-CairoOutputDev-to-be-cre.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0003-Allow-multiple-instances-of-CairoOutputDev-to-be-cre.pa";
 filename*1="tch"



More information about the poppler mailing list