commit 8ec9698d5703b0150250849f97b8457a42e22c73 from: Stefan Sperling date: Thu May 10 11:18:32 2018 UTC tweak conditional; no functional change commit - d91e25cb53afcc579f303f2fafb6e534beda78de commit + 8ec9698d5703b0150250849f97b8457a42e22c73 blob - 9b2bc1271b80bb9bdac03ecfb32839c5710922fd blob + 391c982c3ecb45e080dc38a008d961aef986b058 --- tog/tog.c +++ tog/tog.c @@ -526,7 +526,7 @@ show_log_view(struct got_object_id *start_id, struct g case KEY_UP: if (selected > 0) selected--; - if (selected != 0) + if (selected > 0) break; /* scroll down if there are more children */ entry = TAILQ_FIRST(&commits);