changeset 15500:7ce4992e4ab7 v8.1.0758

patch 8.1.0758: font number is always one instead of the actual commit https://github.com/vim/vim/commit/500f36108031c75befb6a04cac2ceeb592d8cf00 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 16 22:15:11 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Jan 2019 22:30:08 +0100
parents 5c42085a5a28
children f1ba08812cf2
files src/gui_x11.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- a/src/version.c
+++ b/src/version.c
@@ -796,6 +796,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    758,
+/**/
     757,
 /**/
     756,