summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorDominique Pelle <dominique.pelle@gmail.com>2021-12-27 17:21:41 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-27 17:21:41 +0000
commitaf4a61a85d6e8cacc35324f266934bc463a21673 (patch)
tree3b2e75b8a36bc8e79d2bc407d929a84b69fd0e0c /src/getchar.c
parent5da36052a4bb0f3a9747ec3a8ab9d85e058e39fa (diff)
patch 8.2.3914: various spelling mistakes in commentsv8.2.3914
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/getchar.c b/src/getchar.c
index c3573547aa..102eb2f167 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -76,7 +76,7 @@ static int KeyNoremap = 0; // remapping flags
// typebuf.tb_buf has three parts: room in front (for result of mappings), the
// middle for typeahead and room for new characters (which needs to be 3 *
-// MAXMAPLEN) for the Amiga).
+// MAXMAPLEN for the Amiga).
#define TYPELEN_INIT (5 * (MAXMAPLEN + 3))
static char_u typebuf_init[TYPELEN_INIT]; // initial typebuf.tb_buf
static char_u noremapbuf_init[TYPELEN_INIT]; // initial typebuf.tb_noremap
@@ -941,7 +941,7 @@ noremap_keys(void)
*
* If noremap is REMAP_YES, new string can be mapped again.
* If noremap is REMAP_NONE, new string cannot be mapped again.
- * If noremap is REMAP_SKIP, fist char of new string cannot be mapped again,
+ * If noremap is REMAP_SKIP, first char of new string cannot be mapped again,
* but abbreviations are allowed.
* If noremap is REMAP_SCRIPT, new string cannot be mapped again, except for
* script-local mappings.
@@ -3457,7 +3457,7 @@ vgetorpeek(int advance)
inchar(
char_u *buf,
int maxlen,
- long wait_time) // milli seconds
+ long wait_time) // milliseconds
{
int len = 0; // init for GCC
int retesc = FALSE; // return ESC with gotint