Commit Diff


commit - 4bfe9f0a4671fffd9de9bcb1048c5fdec8a3b9c1
commit + f704b35c7dbaaf8f3d4c7ee8b219e027d00816f2
blob - 22beb3ab4aeef8d0cce7916c51ec938511c49a2a
blob + b8935d8f4d93a4f03c1d8727adb23a6137741acf
--- tog/tog.c
+++ 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)