aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2019-04-20 12:50:32 +0900
committerYAMAMOTO Mitsuharu2019-04-20 12:50:32 +0900
commit4ff6c657a206a9c5ff6f3cda26996fda00e7598d (patch)
tree6e58ec83d427175aa3fc6841514e1d5cf8493151 /src
parentd1dde7d04e5244179735592adc11d2a6f0af64ac (diff)
downloademacs-4ff6c657a206a9c5ff6f3cda26996fda00e7598d.tar.gz
emacs-4ff6c657a206a9c5ff6f3cda26996fda00e7598d.zip
* src/ftcrfont.c (ftcrfont_shape): Fix last change.
Diffstat (limited to 'src')
-rw-r--r--src/ftcrfont.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ftcrfont.c b/src/ftcrfont.c
index e341c409b1e..8a1c9a48e1f 100644
--- a/src/ftcrfont.c
+++ b/src/ftcrfont.c
@@ -25,6 +25,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
25#include "lisp.h" 25#include "lisp.h"
26#include "xterm.h" 26#include "xterm.h"
27#include "blockinput.h" 27#include "blockinput.h"
28#include "composite.h"
28#include "font.h" 29#include "font.h"
29#include "ftfont.h" 30#include "ftfont.h"
30#include "pdumper.h" 31#include "pdumper.h"
@@ -291,6 +292,7 @@ static Lisp_Object
291ftcrfont_shape (Lisp_Object lgstring) 292ftcrfont_shape (Lisp_Object lgstring)
292{ 293{
293#if defined HAVE_M17N_FLT && defined HAVE_LIBOTF 294#if defined HAVE_M17N_FLT && defined HAVE_LIBOTF
295 struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring));
294 struct font_info *ftcrfont_info = (struct font_info *) font; 296 struct font_info *ftcrfont_info = (struct font_info *) font;
295 297
296 if (ftcrfont_info->bitmap_strike_index < 0) 298 if (ftcrfont_info->bitmap_strike_index < 0)