1
0
forked from aniani/vim

patch 8.1.2361: MS-Windows: test failures related to VIMDLL

Problem:    MS-Windows: test failures related to VIMDLL.
Solution:   Adjust code and tests. (Ken Takata, closes #5283)
This commit is contained in:
Bram Moolenaar
2019-11-29 23:15:25 +01:00
parent 15a7bdcb77
commit 310c32e892
8 changed files with 54 additions and 9 deletions

View File

@@ -685,7 +685,11 @@ add_menu_path(
if ( addtearoff
&& *next_name
&& vim_strchr(p_go, GO_TEAROFF) != NULL
&& menu_is_menubar(name))
&& menu_is_menubar(name)
# ifdef VIMDLL
&& (gui.in_use || gui.starting)
# endif
)
{
char_u *tearpath;