Patch 7.3.1252
Problem:    Gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps
            if the corresponding menu command contains additional characters
            like the shortcut marker '&' or if you use a non-english locale.  
Solution:   Use menu->en_dname or menu->dname. (Martin Gieseking)
Files:      src/gui_w32.c


*** ../vim-7.3.1251/src/gui_w32.c       2013-06-26 13:16:13.000000000 +0200
--- src/gui_w32.c       2013-06-27 22:01:03.000000000 +0200
***************
*** 4163,4169 ****
         * didn't exist or wasn't specified, try the menu name
         */
        if (hbitmap == NULL
!               && (gui_find_bitmap(menu->name, fname, "bmp") == OK))
            hbitmap = LoadImage(
                    NULL,
                    fname,
--- 4163,4171 ----
         * didn't exist or wasn't specified, try the menu name
         */
        if (hbitmap == NULL
!               && (gui_find_bitmap(menu->en_dname != NULL
!                                       ? menu->en_dname
!                                       : menu->dname, fname, "bmp") == OK))
            hbitmap = LoadImage(
                    NULL,
                    fname,
*** ../vim-7.3.1251/src/version.c       2013-06-26 21:56:33.000000000 +0200
--- src/version.c       2013-06-27 20:33:18.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     1252,
  /**/

-- 
Why doesn't Tarzan have a beard?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui