summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-16 14:45:13 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-16 14:45:13 +0000
commit52797bae1710621926c03a2611c40a692c96fb44 (patch)
tree3cf4bedc9079f69fb3adb8ebf61361451fa04c1a /src/getchar.c
parent0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471 (diff)
patch 8.2.3825: various comments could be improvedv8.2.3825
Problem: Various comments could be improved. Solution: Improve the comments.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 8c6b48d0cf..c3573547aa 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2677,7 +2677,7 @@ handle_mapping(
if (mp == NULL)
{
*keylenp = keylen;
- return map_result_get; // got character, break for loop
+ return map_result_get; // get character from typeahead
}
}
@@ -3060,7 +3060,7 @@ vgetorpeek(int advance)
typebuf.tb_off];
del_typebuf(1, 0);
}
- break;
+ break; // got character, break the for loop
}
// not enough characters, get more