summaryrefslogtreecommitdiff
path: root/src/edit.c
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2006-01-12 23:22:24 +0000
committervimboss <devnull@localhost>2006-01-12 23:22:24 +0000
commit60ec119feddb9d9ad0e15134d2cbddab9136ac50 (patch)
treeb9ca6f4a66c7591a84cfe88fb21edb31db906a4e /src/edit.c
parenta77a364599cece4c0f9826e37ff89eaf7a3cd757 (diff)
downloadvim-60ec119feddb9d9ad0e15134d2cbddab9136ac50.tar.gz
updated for version 7.0179v7.0179v7-0179
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index 23dd57eb..c037d1f9 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -987,6 +987,15 @@ doESCkey:
case K_IGNORE: /* Something mapped to nothing */
break;
+#ifdef FEAT_GUI_W32
+ /* On Win32 ignore <M-F4>, we get it when closing the window was
+ * cancelled. */
+ case K_F4:
+ if (mod_mask != MOD_MASK_ALT)
+ goto normalchar;
+ break;
+#endif
+
#ifdef FEAT_GUI
case K_VER_SCROLLBAR:
ins_scroll();