commit - a8bfd7812244ea66f96b66d285a83a08203006ca
commit + ba5cc5fa6d3cb2de42937287ae932026dbf967ad
blob - 437ad721fea688585cfecd88231e74ae7b9b54f3
blob + a6af268d74c79bc45c6aaddce6f5bcd8eeae8f15
--- tog/tog.c
+++ tog/tog.c
if (s->thread_args.commits_needed > 0 || s->thread_args.load_all) {
if (asprintf(&ncommits_str, " [%d/%d] %s",
entry ? entry->idx + 1 : 0, s->commits->ncommits,
- (view->searching && !view->search_next_done) ||
- s->limit_view ? "searching..." : "loading...") == -1) {
+ (view->searching && !view->search_next_done) ?
+ "searching..." : "loading...") == -1) {
err = got_error_from_errno("asprintf");
goto done;
}