]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous commit
authorKhaled Hosny <khaledhosny@eglug.org>
Sat, 22 Dec 2018 08:48:05 +0000 (10:48 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Sat, 22 Dec 2018 08:48:05 +0000 (10:48 +0200)
src/ftfont.c

index 43a3e46e5783f9a51470378444a42161fec39e58..ba905ed4639076ab018fd68aa65e585dba015e61 100644 (file)
@@ -2949,11 +2949,14 @@ ftfont_shape (Lisp_Object lgstring)
   else
 #endif  /* HAVE_HARFBUZZ */
     {
+#if defined HAVE_M17N_FLT && defined HAVE_LIBOTF
       OTF *otf = ftfont_get_otf (ftfont_info);
 
       return ftfont_shape_by_flt (lgstring, font, ftfont_info->ft_size->face,
                                  otf, &ftfont_info->matrix);
+#endif  /* defined HAVE_M17N_FLT && defined HAVE_LIBOTF */
     }
+  return make_fixnum (0);
 }
 
 #endif /* (defined HAVE_M17N_FLT && defined HAVE_LIBOTF) || defined HAVE_HARFBUZZ */