Skip to content

Commit 2032190

Browse files
committed
patch 7.4.1344
Problem: Can't compile Win32 GUI with tiny features. Solution: Add #ifdef. (Christian Brabandt)
1 parent cd39bbc commit 2032190

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/gui_w32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1670,13 +1670,15 @@ gui_mch_init(void)
16701670
if (s_textArea == NULL)
16711671
return FAIL;
16721672

1673+
#ifdef FEAT_LIBCALL
16731674
/* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */
16741675
{
16751676
HANDLE hIcon = NULL;
16761677

16771678
if (mch_icon_load(&hIcon) == OK && hIcon != NULL)
16781679
SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
16791680
}
1681+
#endif
16801682

16811683
#ifdef FEAT_MENU
16821684
s_menuBar = CreateMenu();

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ static char *(features[]) =
747747

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1344,
750752
/**/
751753
1343,
752754
/**/

0 commit comments

Comments
 (0)