Karsten Hopp 7aac4b
To: vim_dev@googlegroups.com
Karsten Hopp 7aac4b
Subject: Patch 7.3.1188
Karsten Hopp 7aac4b
Fcc: outbox
Karsten Hopp 7aac4b
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 7aac4b
Mime-Version: 1.0
Karsten Hopp 7aac4b
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 7aac4b
Content-Transfer-Encoding: 8bit
Karsten Hopp 7aac4b
------------
Karsten Hopp 7aac4b
Karsten Hopp 7aac4b
Patch 7.3.1188
Karsten Hopp 7aac4b
Problem:    Newline characters messing up error message.
Karsten Hopp 7aac4b
Solution:   Remove the newlines. (Kazunobu Kuriyama)
Karsten Hopp 7aac4b
Files:	    src/gui_x11.c
Karsten Hopp 7aac4b
Karsten Hopp 7aac4b
Karsten Hopp 7aac4b
*** ../vim-7.3.1187/src/gui_x11.c	2010-11-16 15:04:51.000000000 +0100
Karsten Hopp 7aac4b
--- src/gui_x11.c	2013-06-13 21:54:39.000000000 +0200
Karsten Hopp 7aac4b
***************
Karsten Hopp 7aac4b
*** 2197,2208 ****
Karsten Hopp 7aac4b
  	if (	   xfs[i]->max_bounds.width != 2 * min_width
Karsten Hopp 7aac4b
  		&& xfs[i]->max_bounds.width != min_width)
Karsten Hopp 7aac4b
  	{
Karsten Hopp 7aac4b
! 	    EMSG2(_("E253: Fontset name: %s\n"), base_name);
Karsten Hopp 7aac4b
! 	    EMSG2(_("Font0: %s\n"), font_name[min_font_idx]);
Karsten Hopp 7aac4b
! 	    EMSG2(_("Font1: %s\n"), font_name[i]);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font%ld width is not twice that of font0\n"), i);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font0 width: %ld\n"), xfs[min_font_idx]->max_bounds.width);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font1 width: %ld\n\n"), xfs[i]->max_bounds.width);
Karsten Hopp 7aac4b
  	    return FAIL;
Karsten Hopp 7aac4b
  	}
Karsten Hopp 7aac4b
      }
Karsten Hopp 7aac4b
--- 2197,2208 ----
Karsten Hopp 7aac4b
  	if (	   xfs[i]->max_bounds.width != 2 * min_width
Karsten Hopp 7aac4b
  		&& xfs[i]->max_bounds.width != min_width)
Karsten Hopp 7aac4b
  	{
Karsten Hopp 7aac4b
! 	    EMSG2(_("E253: Fontset name: %s"), base_name);
Karsten Hopp 7aac4b
! 	    EMSG2(_("Font0: %s"), font_name[min_font_idx]);
Karsten Hopp 7aac4b
! 	    EMSG2(_("Font1: %s"), font_name[i]);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font%ld width is not twice that of font0"), i);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font0 width: %ld"), xfs[min_font_idx]->max_bounds.width);
Karsten Hopp 7aac4b
! 	    EMSGN(_("Font1 width: %ld"), xfs[i]->max_bounds.width);
Karsten Hopp 7aac4b
  	    return FAIL;
Karsten Hopp 7aac4b
  	}
Karsten Hopp 7aac4b
      }
Karsten Hopp 7aac4b
*** ../vim-7.3.1187/src/version.c	2013-06-13 21:24:01.000000000 +0200
Karsten Hopp 7aac4b
--- src/version.c	2013-06-13 21:56:02.000000000 +0200
Karsten Hopp 7aac4b
***************
Karsten Hopp 7aac4b
*** 730,731 ****
Karsten Hopp 7aac4b
--- 730,733 ----
Karsten Hopp 7aac4b
  {   /* Add new patch number below this line */
Karsten Hopp 7aac4b
+ /**/
Karsten Hopp 7aac4b
+     1188,
Karsten Hopp 7aac4b
  /**/
Karsten Hopp 7aac4b
Karsten Hopp 7aac4b
-- 
Karsten Hopp 7aac4b
I'm in shape.  Round IS a shape.
Karsten Hopp 7aac4b
Karsten Hopp 7aac4b
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 7aac4b
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 7aac4b
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 7aac4b
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///