]> granicus.if.org Git - vim/commitdiff
patch 8.1.0758: font number is always one instead of the actual v8.1.0758
authorBram Moolenaar <Bram@vim.org>
Wed, 16 Jan 2019 21:15:11 +0000 (22:15 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 16 Jan 2019 21:15:11 +0000 (22:15 +0100)
Problem:    Font number is always one instead of the actual.
Solution:   Use "%d" instead of "1". (Ken Takata)

src/gui_x11.c
src/version.c

index 42fb7ca86ec7d4a5238a7cfbb535c4d971716615..652bbec28a4ccb1c4b7ff42eee1c01e32f5f43ef 100644 (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);
index d96ec6ebd3001cd48b9135c0ae5eded0447359de..710c0245e9900cb49e7470506de446f072a85224 100644 (file)
@@ -795,6 +795,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    758,
 /**/
     757,
 /**/