comparison src/menu.c @ 18742:e9b2ade1adbd v8.1.2361

patch 8.1.2361: MS-Windows: test failures related to VIMDLL Commit: https://github.com/vim/vim/commit/310c32e8920140f0db747c6c6eb06b1ee53cdb5a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 29 23:15:25 2019 +0100 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 https://github.com/vim/vim/issues/5283)
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 Nov 2019 23:30:04 +0100
parents 506bf60a30a0
children f41b55f9357c
comparison
equal deleted inserted replaced
18741:3f42c89cf06c 18742:e9b2ade1adbd
683 # if defined(FEAT_GUI_MSWIN) & defined(FEAT_TEAROFF) 683 # if defined(FEAT_GUI_MSWIN) & defined(FEAT_TEAROFF)
684 /* When adding a new submenu, may add a tearoff item */ 684 /* When adding a new submenu, may add a tearoff item */
685 if ( addtearoff 685 if ( addtearoff
686 && *next_name 686 && *next_name
687 && vim_strchr(p_go, GO_TEAROFF) != NULL 687 && vim_strchr(p_go, GO_TEAROFF) != NULL
688 && menu_is_menubar(name)) 688 && menu_is_menubar(name)
689 # ifdef VIMDLL
690 && (gui.in_use || gui.starting)
691 # endif
692 )
689 { 693 {
690 char_u *tearpath; 694 char_u *tearpath;
691 695
692 /* 696 /*
693 * The pointers next_name & path_name refer to a string with 697 * The pointers next_name & path_name refer to a string with