Mercurial > vim
diff src/getchar.c @ 26592:9f445e07f766 v8.2.3825
patch 8.2.3825: various comments could be improved
Commit: https://github.com/vim/vim/commit/52797bae1710621926c03a2611c40a692c96fb44
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 16 14:45:13 2021 +0000
patch 8.2.3825: various comments could be improved
Problem: Various comments could be improved.
Solution: Improve the comments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Dec 2021 16:00:05 +0100 |
parents | ef0c07cbf53f |
children | fc859aea8cec |
line wrap: on
line diff
--- 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