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