changeset 91870:5348213975e3

(ftfont_shape): Return Lispy number.
author Kenichi Handa <handa@m17n.org>
date Sat, 16 Feb 2008 12:40:42 +0000
parents 3952f2dc0abc
children 436548f01688
files src/ftfont.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Sat Feb 16 07:40:06 2008 +0000
+++ b/src/ftfont.c	Sat Feb 16 12:40:42 2008 +0000
@@ -1618,7 +1618,7 @@
   CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring), font);
   ftfont_info = (struct ftfont_info *) font;
   if (! ftfont_info->maybe_otf)
-    return 0;
+    return make_number (0);
   if (! ftfont_info->otf)
     {
       OTF *otf = OTF_open_ft_face (ftfont_info->ft_size->face);
@@ -1628,7 +1628,7 @@
 	  if (otf)
 	    OTF_close (otf);
 	  ftfont_info->maybe_otf = 0;
-	  return 0;
+	  return make_number (0);
 	}
 
       ftfont_info->otf = otf;