]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1252 v7.3.1252
authorBram Moolenaar <Bram@vim.org>
Thu, 27 Jun 2013 20:02:02 +0000 (22:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 27 Jun 2013 20:02:02 +0000 (22:02 +0200)
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)

src/gui_w32.c
src/version.c

index 34d3dd4d91750a10bf730a89e361606439f937d0..a00e4efdf36de3bf123de3a7ebccaf7dc578b3b4 100644 (file)
@@ -4163,7 +4163,9 @@ get_toolbar_bitmap(vimmenu_T *menu)
         * didn't exist or wasn't specified, try the menu name
         */
        if (hbitmap == NULL
-               && (gui_find_bitmap(menu->name, fname, "bmp") == OK))
+               && (gui_find_bitmap(menu->en_dname != NULL
+                                       ? menu->en_dname
+                                       : menu->dname, fname, "bmp") == OK))
            hbitmap = LoadImage(
                    NULL,
                    fname,
index a83e923b72704979448e6158c5f647375b8dd41e..83487c7c63e15ac7f938a421cc681176a4584e30 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1252,
 /**/
     1251,
 /**/