summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-17 17:44:42 +0100
commit4f97475d326c2773a78561fb874e4f23c25cbcd9 (patch)
tree7e066bc70556dfbb415ddb9f364e8432e8aaf189 /src/edit.c
parent78d21dae9c3a39efb30316d3e38dce120bc1abbd (diff)
patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and others. Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the GUI build. (Hirohito Higashi, closes #3932)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/edit.c b/src/edit.c
index 62ff03d962..2f81b52dff 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1247,9 +1247,9 @@ doESCkey:
did_cursorhold = TRUE;
break;
-#ifdef FEAT_GUI_W32
- /* On Win32 ignore <M-F4>, we get it when closing the window was
- * cancelled. */
+#ifdef FEAT_GUI_MSWIN
+ /* On MS-Windows ignore <M-F4>, we get it when closing the window
+ * was cancelled. */
case K_F4:
if (mod_mask != MOD_MASK_ALT)
goto normalchar;