diff options
author | Bram Moolenaar <bram@vim.org> | 2013-06-27 22:29:38 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2013-06-27 22:29:38 +0200 |
commit | 85514e05c957f9ec2ff8f08fb1d17b81f546d648 (patch) | |
tree | b77238362b10666c2aef4449510057d8e1063021 | |
parent | 663784d7d2a29dd12331f4f611a2518f58227402 (diff) | |
download | vim-85514e05c957f9ec2ff8f08fb1d17b81f546d648.tar.gz |
Problem: Can't build without the multi-lang feature. (John Marriott)
Solution: Add #ifdef.
-rw-r--r-- | src/gui_w32.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index a00e4efd..4443d35c 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -4163,9 +4163,11 @@ get_toolbar_bitmap(vimmenu_T *menu) * 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)) + && (gui_find_bitmap( +#ifdef FEAT_MULTI_LANG + menu->en_dname != NULL ? menu->en_dname : +#endif + menu->dname, fname, "bmp") == OK)) hbitmap = LoadImage( NULL, fname, diff --git a/src/version.c b/src/version.c index dbd95425..6f022532 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1254, +/**/ 1253, /**/ 1252, |