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:
@@ -1670,6 +1670,7 @@ gui_mch_init(void)
|
||||
if (s_textArea == NULL)
|
||||
return FAIL;
|
||||
|
||||
#ifdef FEAT_LIBCALL
|
||||
/* Try loading an icon from $RUNTIMEPATH/bitmaps/vim.ico. */
|
||||
{
|
||||
HANDLE hIcon = NULL;
|
||||
@@ -1677,6 +1678,7 @@ gui_mch_init(void)
|
||||
if (mch_icon_load(&hIcon) == OK && hIcon != NULL)
|
||||
SendMessage(s_hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hIcon);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_MENU
|
||||
s_menuBar = CreateMenu();
|
||||
|
Reference in New Issue
Block a user