diff src/menu.c @ 27523:4c7bb6fd383f v8.2.4289

patch 8.2.4289: warnings reported by MSVC Commit: https://github.com/vim/vim/commit/5411910c77cba85212963a2fb71d8c71f8a5d203 Author: K.Takata <kentkt@csc.jp> Date: Thu Feb 3 13:33:03 2022 +0000 patch 8.2.4289: warnings reported by MSVC Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes https://github.com/vim/vim/issues/9689)
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Feb 2022 14:45:03 +0100
parents c9474ae175f4
children 9849df834f1d
line wrap: on
line diff
--- a/src/menu.c
+++ b/src/menu.c
@@ -677,7 +677,7 @@ add_menu_path(
 		}
 	    }
 
-# if defined(FEAT_GUI_MSWIN) & defined(FEAT_TEAROFF)
+# if defined(FEAT_GUI_MSWIN) && defined(FEAT_TEAROFF)
 	    // When adding a new submenu, may add a tearoff item
 	    if (	addtearoff
 		    && *next_name