mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 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)
This commit is contained in:
parent
9b846cb8ac
commit
c9dcb42704
@ -4163,7 +4163,9 @@ get_toolbar_bitmap(vimmenu_T *menu)
|
|||||||
* didn't exist or wasn't specified, try the menu name
|
* didn't exist or wasn't specified, try the menu name
|
||||||
*/
|
*/
|
||||||
if (hbitmap == NULL
|
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(
|
hbitmap = LoadImage(
|
||||||
NULL,
|
NULL,
|
||||||
fname,
|
fname,
|
||||||
|
@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1252,
|
||||||
/**/
|
/**/
|
||||||
1251,
|
1251,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user