Commit Diff


commit - b74feda6c03e98dfcfc9b50c418817ee34ae4f51
commit + 1f4d51624ce2a28d6cd8385d3ec7bef9975db99f
blob - 2cd38d958da069a6ea0f4dc0c8d700f10af211cd
blob + 11494c8c26e0c6b19d6db5607f102770b3462e43
--- tog/tog.c
+++ tog/tog.c
@@ -2355,8 +2355,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)