Commit f704b35c7dbaaf8f3d4c7ee8b219e027d00816f2

Stefan Sperling 2022-06-18T16:52:41

small grammar and accuracy fixes in a comment

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tog/tog.c b/tog/tog.c
index 22beb3a..b8935d8 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -2346,8 +2346,9 @@ search_next_log_view(struct tog_view *view)
 		int selected_idx = s->selected_entry->idx;
 
 		/*
-		 * If user has moved cursor after we hit the match, position
-		 * from where we should continue search must be changed.
+		 * If the user has moved the cursor after we hit a match,
+		 * the position from where we should continue searching
+		 * might have changed.
 		 */
 		if (view->searching == TOG_SEARCH_FORWARD) {
 			if (matched_idx > selected_idx)