From f3a1a3a96a25d2d8d9a928de0b7b0b977ca48444 Mon Sep 17 00:00:00 2001 From: arakiken Date: Sat, 4 Nov 2023 23:25:11 +0900 Subject: [PATCH] * fb/ui_font.c: Fix compiling error in ui_font_set_dpi_for_fc(). --- ChangeLog | 2 ++ uitoolkit/fb/ui_font.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index edae231c..a8026c4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2023-11-04 Araki Ken + * fb/ui_font.c: Fix compiling error in ui_font_set_dpi_for_fc(). + * README, RAEDME.ja: Updated. * configure.in: Add --disable-conpty. diff --git a/uitoolkit/fb/ui_font.c b/uitoolkit/fb/ui_font.c index 9ebb06e2..3a889ef9 100644 --- a/uitoolkit/fb/ui_font.c +++ b/uitoolkit/fb/ui_font.c @@ -2804,9 +2804,11 @@ u_char *ui_get_bitmap(XFontStruct *xfont, u_char *ch, size_t len, int use_ot_lay return xfont->glyphs + glyph_offset; } +#ifdef USE_WAYLAND /* For mlterm-libvte */ void ui_font_set_dpi_for_fc(double dpi) { #ifdef USE_FONTCONFIG dpi_for_fc = dpi; #endif } +#endif