summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
committerBram Moolenaar <Bram@vim.org>2019-11-02 22:54:41 +0100
commit32aa10203bd0b4b270def03311a4599f9ffdecc4 (patch)
tree4c0188d20dcc6873e6d96f5a28b59bedcb8ebb0c /src/quickfix.c
parent70def98a957620cc325d1ab6ee35f13187598693 (diff)
downloadvim-git-32aa10203bd0b4b270def03311a4599f9ffdecc4.tar.gz
patch 8.1.2243: typos in commentsv8.1.2243
Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust formatting a bit.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 7b64f4564..50da45fa6 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1861,7 +1861,7 @@ qf_new_list(qf_info_T *qi, char_u *qf_title)
// 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 @@ qf_find_entry_after_pos(
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'