commit 748b46b9f4f7af3736a2bdc81e204d250a56b3c7 from: Omar Polo via: Thomas Adam date: Thu Jun 23 14:09:35 2022 UTC fix `limit' accounting in draw_commit if the child view is fullscreen we don't need to subtract one, because no vborder is drawn. ok Mark Jamsek commit - 4c2d69cb280249e1deaae9699e989795509029e3 commit + 748b46b9f4f7af3736a2bdc81e204d250a56b3c7 blob - a31e0bf043ad103bd13c92ed40c1159d1e0c1f67 blob + 957651217bac71b8fc979a590cc3b52c3e586558 --- tog/tog.c +++ tog/tog.c @@ -1554,7 +1554,7 @@ draw_commit(struct tog_view *view, struct got_commit_o if (newline) *newline = '\0'; limit = avail - col; - if (view->child && limit > 0) + if (view->child && view_is_splitscreen(view->child) && limit > 0) limit--; /* for the border */ err = format_line(&wlogmsg, &logmsg_width, &scrollx, logmsg, view->x, limit, col, 1);