patch 8.2.3825: various comments could be improved
Problem: Various comments could be improved.
Solution: Improve the comments.
diff --git a/src/getchar.c b/src/getchar.c
index 8c6b48d..c357354 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2677,7 +2677,7 @@
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 @@
typebuf.tb_off];
del_typebuf(1, 0);
}
- break;
+ break; // got character, break the for loop
}
// not enough characters, get more