Mercurial > vim
changeset 4885:6f7ed9b799a3 v7.3.1188
updated for version 7.3.1188
Problem: Newline characters messing up error message.
Solution: Remove the newlines. (Kazunobu Kuriyama)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 13 Jun 2013 21:57:20 +0200 |
parents | 212b3fb13d1e |
children | 2eea5ec69c67 |
files | src/gui_x11.c src/version.c |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -2197,12 +2197,12 @@ check_fontset_sanity(fs) if ( xfs[i]->max_bounds.width != 2 * min_width && xfs[i]->max_bounds.width != min_width) { - EMSG2(_("E253: Fontset name: %s\n"), base_name); - EMSG2(_("Font0: %s\n"), font_name[min_font_idx]); - EMSG2(_("Font1: %s\n"), font_name[i]); - EMSGN(_("Font%ld width is not twice that of font0\n"), i); - EMSGN(_("Font0 width: %ld\n"), xfs[min_font_idx]->max_bounds.width); - EMSGN(_("Font1 width: %ld\n\n"), xfs[i]->max_bounds.width); + EMSG2(_("E253: Fontset name: %s"), base_name); + EMSG2(_("Font0: %s"), font_name[min_font_idx]); + EMSG2(_("Font1: %s"), font_name[i]); + EMSGN(_("Font%ld width is not twice that of font0"), i); + EMSGN(_("Font0 width: %ld"), xfs[min_font_idx]->max_bounds.width); + EMSGN(_("Font1 width: %ld"), xfs[i]->max_bounds.width); return FAIL; } }