summaryrefslogtreecommitdiff
path: root/src/gui_w32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 70dd9b593..cc31c7cee 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -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();