Karsten Hopp 168881
To: vim_dev@googlegroups.com
Karsten Hopp 168881
Subject: Patch 7.3.1252
Karsten Hopp 168881
Fcc: outbox
Karsten Hopp 168881
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 168881
Mime-Version: 1.0
Karsten Hopp 168881
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 168881
Content-Transfer-Encoding: 8bit
Karsten Hopp 168881
------------
Karsten Hopp 168881
Karsten Hopp 168881
Patch 7.3.1252
Karsten Hopp 168881
Problem:    Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
Karsten Hopp 168881
	    if the corresponding menu command contains additional characters
Karsten Hopp 168881
	    like the shortcut marker '&' or if you use a non-english locale.  
Karsten Hopp 168881
Solution:   Use menu->en_dname or menu->dname. (Martin Gieseking)
Karsten Hopp 168881
Files:	    src/gui_w32.c
Karsten Hopp 168881
Karsten Hopp 168881
Karsten Hopp 168881
*** ../vim-7.3.1251/src/gui_w32.c	2013-06-26 13:16:13.000000000 +0200
Karsten Hopp 168881
--- src/gui_w32.c	2013-06-27 22:01:03.000000000 +0200
Karsten Hopp 168881
***************
Karsten Hopp 168881
*** 4163,4169 ****
Karsten Hopp 168881
  	 * didn't exist or wasn't specified, try the menu name
Karsten Hopp 168881
  	 */
Karsten Hopp 168881
  	if (hbitmap == NULL
Karsten Hopp 168881
! 		&& (gui_find_bitmap(menu->name, fname, "bmp") == OK))
Karsten Hopp 168881
  	    hbitmap = LoadImage(
Karsten Hopp 168881
  		    NULL,
Karsten Hopp 168881
  		    fname,
Karsten Hopp 168881
--- 4163,4171 ----
Karsten Hopp 168881
  	 * didn't exist or wasn't specified, try the menu name
Karsten Hopp 168881
  	 */
Karsten Hopp 168881
  	if (hbitmap == NULL
Karsten Hopp 168881
! 		&& (gui_find_bitmap(menu->en_dname != NULL
Karsten Hopp 168881
! 					? menu->en_dname
Karsten Hopp 168881
! 					: menu->dname, fname, "bmp") == OK))
Karsten Hopp 168881
  	    hbitmap = LoadImage(
Karsten Hopp 168881
  		    NULL,
Karsten Hopp 168881
  		    fname,
Karsten Hopp 168881
*** ../vim-7.3.1251/src/version.c	2013-06-26 21:56:33.000000000 +0200
Karsten Hopp 168881
--- src/version.c	2013-06-27 20:33:18.000000000 +0200
Karsten Hopp 168881
***************
Karsten Hopp 168881
*** 730,731 ****
Karsten Hopp 168881
--- 730,733 ----
Karsten Hopp 168881
  {   /* Add new patch number below this line */
Karsten Hopp 168881
+ /**/
Karsten Hopp 168881
+     1252,
Karsten Hopp 168881
  /**/
Karsten Hopp 168881
Karsten Hopp 168881
-- 
Karsten Hopp 168881
Why doesn't Tarzan have a beard?
Karsten Hopp 168881
Karsten Hopp 168881
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 168881
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 168881
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 168881
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///