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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user