patch 8.1.2243: typos in comments
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust
formatting a bit.
diff --git a/src/quickfix.c b/src/quickfix.c
index 7b64f45..50da45f 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1861,7 +1861,7 @@
// If the current entry is not the last entry, delete entries beyond
// the current entry. This makes it possible to browse in a tree-like
- // way with ":grep'.
+ // way with ":grep".
while (qi->qf_listcount > qi->qf_curlist + 1)
qf_free(&qi->qf_lists[--qi->qf_listcount]);
@@ -5224,7 +5224,7 @@
int *errornr)
{
if (qf_entry_after_pos(qfp, pos, linewise))
- // First entry is after postion 'pos'
+ // First entry is after position 'pos'
return qfp;
// Find the entry just before or at the position 'pos'