From: Stefan Sperling Subject: Re: fix hscrolling in split view To: Omar Polo Cc: gameoftrees@openbsd.org Date: Fri, 17 Jun 2022 10:09:16 +0200 On Fri, Jun 17, 2022 at 09:56:52AM +0200, Omar Polo wrote: > @@ -1529,6 +1540,8 @@ draw_commit(struct tog_view *view, struct got_commit_o > if (newline) > *newline = '\0'; > limit = avail - col; > + if (view->child) > + limit--; /* for the border */ Check if limit > 0 before decrementing? Just for sanity.