diff options
| author | Eli Zaretskii | 2018-12-18 20:45:27 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2018-12-18 20:45:27 +0200 |
| commit | 80e0491420a9f645efa6c1438f209f70610c4065 (patch) | |
| tree | bac4a5c39d1e4acf187890c4906231118e1ca076 /src | |
| parent | 681271d946c16d90409e00cec4216656c771f1d6 (diff) | |
| download | emacs-80e0491420a9f645efa6c1438f209f70610c4065.tar.gz emacs-80e0491420a9f645efa6c1438f209f70610c4065.zip | |
Fix one last compilation warning in ftfont.c
* src/ftfont.c (ftfont_get_hb_font): Only define if
HAVE_LIBOTF is defined. (Bug#33771)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 4e147cd277b..8476a74854c 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -474,9 +474,8 @@ ftfont_get_otf (struct ftfont_info *ftfont_info) | |||
| 474 | ftfont_info->otf = otf; | 474 | ftfont_info->otf = otf; |
| 475 | return otf; | 475 | return otf; |
| 476 | } | 476 | } |
| 477 | #endif /* HAVE_LIBOTF */ | ||
| 478 | 477 | ||
| 479 | #ifdef HAVE_HARFBUZZ | 478 | # ifdef HAVE_HARFBUZZ |
| 480 | 479 | ||
| 481 | static hb_font_t * | 480 | static hb_font_t * |
| 482 | ftfont_get_hb_font (struct ftfont_info *ftfont_info) | 481 | ftfont_get_hb_font (struct ftfont_info *ftfont_info) |
| @@ -487,7 +486,8 @@ ftfont_get_hb_font (struct ftfont_info *ftfont_info) | |||
| 487 | return ftfont_info->hb_font; | 486 | return ftfont_info->hb_font; |
| 488 | } | 487 | } |
| 489 | 488 | ||
| 490 | #endif /* HAVE_HARFBUZZ */ | 489 | # endif /* HAVE_HARFBUZZ */ |
| 490 | #endif /* HAVE_LIBOTF */ | ||
| 491 | 491 | ||
| 492 | Lisp_Object | 492 | Lisp_Object |
| 493 | ftfont_get_cache (struct frame *f) | 493 | ftfont_get_cache (struct frame *f) |