summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorK.Takata <kentkt@csc.jp>2022-02-03 13:33:03 +0000
committerBram Moolenaar <Bram@vim.org>2022-02-03 13:33:03 +0000
commit5411910c77cba85212963a2fb71d8c71f8a5d203 (patch)
tree02b93fc9c88ba737b0d94785790effa062de465b /src/menu.c
parent6e1d31e9e3ca42cb883abca198f011dc6f4ceb14 (diff)
downloadvim-git-5411910c77cba85212963a2fb71d8c71f8a5d203.tar.gz
patch 8.2.4289: warnings reported by MSVCv8.2.4289
Problem: Warnings reported by MSVC. Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu.c b/src/menu.c
index 880a93a6d..1c5cc4acb 100644
--- 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