From e7fedb6ebe72d9a475aa65109b77d5ed4667067a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 31 Dec 2015 19:07:19 +0100 Subject: patch 7.4.1008 Problem: The OS/2 code pollutes the source while nobody uses it these days. Solution: Drop the support for OS/2. --- src/getchar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index f4ec991b0..70829e18e 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -962,8 +962,8 @@ init_typebuf() } /* - * insert a string in position 'offset' in the typeahead buffer (for "@r" - * and ":normal" command, vgetorpeek() and check_termcode()) + * Insert a string in position 'offset' in the typeahead buffer (for "@r" + * and ":normal" command, vgetorpeek() and check_termcode()). * * If noremap is REMAP_YES, new string can be mapped again. * If noremap is REMAP_NONE, new string cannot be mapped again. @@ -5295,7 +5295,7 @@ check_map(keys, mode, exact, ign_mod, abbr, mp_ptr, local_ptr) } #endif -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) +#if defined(MSDOS) || defined(MSWIN) || defined(MACOS) #define VIS_SEL (VISUAL+SELECTMODE) /* abbreviation */ @@ -5308,7 +5308,7 @@ static struct initmap int mode; } initmappings[] = { -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) +#if defined(MSDOS) || defined(MSWIN) /* Use the Windows (CUA) keybindings. */ # ifdef FEAT_GUI /* paste, copy and cut */ @@ -5379,7 +5379,7 @@ static struct initmap void init_mappings() { -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) || defined(MACOS) +#if defined(MSDOS) || defined(MSWIN) ||defined(MACOS) int i; for (i = 0; i < sizeof(initmappings) / sizeof(struct initmap); ++i) @@ -5387,7 +5387,7 @@ init_mappings() #endif } -#if defined(MSDOS) || defined(MSWIN) || defined(OS2) \ +#if defined(MSDOS) || defined(MSWIN) \ || defined(FEAT_CMDWIN) || defined(MACOS) || defined(PROTO) /* * Add a mapping "map" for mode "mode". -- cgit v1.2.1