diff src/quickfix.c @ 18498:9e6d5a4abb1c v8.1.2243

patch 8.1.2243: typos in comments Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 22:54:41 2019 +0100 patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust formatting a bit.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 23:00:06 +0100
parents 0ac9e720a56e
children fbeb1bf0cea8
line wrap: on
line diff
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1861,7 +1861,7 @@ qf_new_list(qf_info_T *qi, char_u *qf_ti
 
     // 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'