Commit Diff


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);