0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 7.4.1344

Problem:    Can't compile Win32 GUI with tiny features.
Solution:   Add #ifdef. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2016-02-17 12:30:17 +01:00
parent cd39bbcd1d
commit 203219048f
2 changed files with 4 additions and 0 deletions

View File

@@ -1670,6 +1670,7 @@ gui_mch_init(void)
if (s_textArea == NULL) if (s_textArea == NULL)
return FAIL; return FAIL;
#ifdef FEAT_LIBCALL
/* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */ /* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */
{ {
HANDLE hIcon = NULL; HANDLE hIcon = NULL;
@@ -1677,6 +1678,7 @@ gui_mch_init(void)
if (mch_icon_load(&hIcon) == OK && hIcon != NULL) if (mch_icon_load(&hIcon) == OK && hIcon != NULL)
SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon); SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
} }
#endif
#ifdef FEAT_MENU #ifdef FEAT_MENU
s_menuBar = CreateMenu(); s_menuBar = CreateMenu();

View File

@@ -747,6 +747,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 */
/**/
1344,
/**/ /**/
1343, 1343,
/**/ /**/