Commit 917a23a3659efa22556a382b067e2b13738e2633

Stefan Sperling 2018-05-20T14:06:43

fix previous: make page-down key move selection on last page

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/tog/tog.c b/tog/tog.c
index a0d98d2..ba91b30 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -532,8 +532,7 @@ scroll_down(struct commit_queue_entry **first_displayed_entry, int maxscroll,
 			if (pentry) {
 				TAILQ_INSERT_TAIL(commits, pentry, entry);
 				last_displayed_entry = pentry;
-			} else
-				break;
+			}
 		}
 	} while (++nscrolled < maxscroll);