Mercurial > vim
comparison src/edit.c @ 15868:7fad90423bd2 v8.1.0941
patch 8.1.0941: macros for MS-Windows are inconsistent
commit https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 17 17:44:42 2019 +0100
patch 8.1.0941: macros for MS-Windows are inconsistent
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Feb 2019 17:45:08 +0100 |
parents | a6ca8cf07a98 |
children | 78faa25f9698 |
comparison
equal
deleted
inserted
replaced
15867:4a3823e692d3 | 15868:7fad90423bd2 |
---|---|
1245 case K_CURSORHOLD: /* Didn't type something for a while. */ | 1245 case K_CURSORHOLD: /* Didn't type something for a while. */ |
1246 ins_apply_autocmds(EVENT_CURSORHOLDI); | 1246 ins_apply_autocmds(EVENT_CURSORHOLDI); |
1247 did_cursorhold = TRUE; | 1247 did_cursorhold = TRUE; |
1248 break; | 1248 break; |
1249 | 1249 |
1250 #ifdef FEAT_GUI_W32 | 1250 #ifdef FEAT_GUI_MSWIN |
1251 /* On Win32 ignore <M-F4>, we get it when closing the window was | 1251 /* On MS-Windows ignore <M-F4>, we get it when closing the window |
1252 * cancelled. */ | 1252 * was cancelled. */ |
1253 case K_F4: | 1253 case K_F4: |
1254 if (mod_mask != MOD_MASK_ALT) | 1254 if (mod_mask != MOD_MASK_ALT) |
1255 goto normalchar; | 1255 goto normalchar; |
1256 break; | 1256 break; |
1257 #endif | 1257 #endif |