aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2019-05-05 15:55:07 +0900
committerYAMAMOTO Mitsuharu2019-05-05 15:55:07 +0900
commit3f9d96e3d70e94768add7d89ffcb94be7de4597e (patch)
treef9d6dd3317c85de377a49c475d2c46ef2e7a4e03 /src
parentf208d5ae77cf381c6f1db9b1aef76d5e9805a106 (diff)
downloademacs-3f9d96e3d70e94768add7d89ffcb94be7de4597e.tar.gz
emacs-3f9d96e3d70e94768add7d89ffcb94be7de4597e.zip
Fix last changes in src/ftfont.c
* src/ftfont.c (ftfont_shape): Add missing argument direction. (fthbfont_shape) [HAVE_HARFBUZZ]: Remove unused variable ftfont_info. (fthbfont_driver) [HAVE_HARFBUZZ]: Remove redundant redeclaration.
Diffstat (limited to 'src')
-rw-r--r--src/ftfont.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index f4e0d7d8408..2373af8766a 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -2691,7 +2691,7 @@ ftfont_shape_by_flt (Lisp_Object lgstring, struct font *font,
2691} 2691}
2692 2692
2693Lisp_Object 2693Lisp_Object
2694ftfont_shape (Lisp_Object lgstring) 2694ftfont_shape (Lisp_Object lgstring, Lisp_Object direction)
2695{ 2695{
2696 struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); 2696 struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring));
2697 struct font_info *ftfont_info = (struct font_info *) font; 2697 struct font_info *ftfont_info = (struct font_info *) font;
@@ -3019,7 +3019,6 @@ Lisp_Object
3019fthbfont_shape (Lisp_Object lgstring, Lisp_Object direction) 3019fthbfont_shape (Lisp_Object lgstring, Lisp_Object direction)
3020{ 3020{
3021 struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring)); 3021 struct font *font = CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring));
3022 struct font_info *ftfont_info = (struct font_info *) font;
3023 3022
3024 return fthbfont_shape_by_hb (lgstring, font, direction); 3023 return fthbfont_shape_by_hb (lgstring, font, direction);
3025} 3024}
@@ -3116,9 +3115,6 @@ static struct font_driver const ftfont_driver =
3116 .filter_properties = ftfont_filter_properties, 3115 .filter_properties = ftfont_filter_properties,
3117 .combining_capability = ftfont_combining_capability, 3116 .combining_capability = ftfont_combining_capability,
3118 }; 3117 };
3119#ifdef HAVE_HARFBUZZ
3120static struct font_driver fthbfont_driver;
3121#endif /* HAVE_HARFBUZZ */
3122 3118
3123void 3119void
3124syms_of_ftfont (void) 3120syms_of_ftfont (void)