comparison src/gui_x11.c @ 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 98c35d312987
children 41fbbcea0f1b
comparison
equal deleted inserted replaced
15499:5c42085a5a28 15500:7ce4992e4ab7
2207 if ( xfs[i]->max_bounds.width != 2 * min_width 2207 if ( xfs[i]->max_bounds.width != 2 * min_width
2208 && xfs[i]->max_bounds.width != min_width) 2208 && xfs[i]->max_bounds.width != min_width)
2209 { 2209 {
2210 semsg(_("E253: Fontset name: %s"), base_name); 2210 semsg(_("E253: Fontset name: %s"), base_name);
2211 semsg(_("Font0: %s"), font_name[min_font_idx]); 2211 semsg(_("Font0: %s"), font_name[min_font_idx]);
2212 semsg(_("Font1: %s"), font_name[i]); 2212 semsg(_("Font%d: %s"), i, font_name[i]);
2213 semsg(_("Font%d width is not twice that of font0"), i); 2213 semsg(_("Font%d width is not twice that of font0"), i);
2214 semsg(_("Font0 width: %d"), 2214 semsg(_("Font0 width: %d"),
2215 (int)xfs[min_font_idx]->max_bounds.width); 2215 (int)xfs[min_font_idx]->max_bounds.width);
2216 semsg(_("Font%d width: %d"), i, (int)xfs[i]->max_bounds.width); 2216 semsg(_("Font%d width: %d"), i, (int)xfs[i]->max_bounds.width);
2217 return FAIL; 2217 return FAIL;