From 500f36108031c75befb6a04cac2ceeb592d8cf00 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 16 Jan 2019 22:15:11 +0100 Subject: [PATCH] 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) --- src/gui_x11.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui_x11.c b/src/gui_x11.c index 42fb7ca86..652bbec28 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -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); diff --git a/src/version.c b/src/version.c index d96ec6ebd..710c0245e 100644 --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 758, /**/ 757, /**/ -- 2.50.1