0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0758: font number is always one instead of the actual

Problem:    Font number is always one instead of the actual.
Solution:   Use "%d" instead of "1". (Ken Takata)
This commit is contained in:
Bram Moolenaar 2019-01-16 22:15:11 +01:00
parent d89682477c
commit 500f361080
2 changed files with 3 additions and 1 deletions

View File

@ -2209,7 +2209,7 @@ check_fontset_sanity(XFontSet fs)
{
semsg(_("E253: Fontset name: %s"), base_name);
semsg(_("Font0: %s"), font_name[min_font_idx]);
semsg(_("Font1: %s"), font_name[i]);
semsg(_("Font%d: %s"), i, font_name[i]);
semsg(_("Font%d width is not twice that of font0"), i);
semsg(_("Font0 width: %d"),
(int)xfs[min_font_idx]->max_bounds.width);

View File

@ -795,6 +795,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
758,
/**/
757,
/**/