Skip to content

Commit

Permalink
* fb/ui_font.c: Fix compiling error in ui_font_set_dpi_for_fc().
Browse files Browse the repository at this point in the history
  • Loading branch information
arakiken committed Nov 4, 2023
1 parent 05418a5 commit f3a1a3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
2023-11-04 Araki Ken <arakiken@users.sf.net>

* fb/ui_font.c: Fix compiling error in ui_font_set_dpi_for_fc().

* README, RAEDME.ja: Updated.

* configure.in: Add --disable-conpty.
Expand Down
2 changes: 2 additions & 0 deletions uitoolkit/fb/ui_font.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f3a1a3a

Please sign in to comment.