Commit Diff


commit - 48bb96f04b6f67bbc78ae9526830dbf20e84ef7d
commit + 63ba1a3a6f40953d1636e718c0e0000a3d626159
blob - 17b45ee2d85a1a2a4e160e82a484d346d9874d7d
blob + cb01bcd4c601aae790a8c7ed5467fd7dc9bc7f1b
--- tog/tog.c
+++ tog/tog.c
@@ -1547,7 +1547,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);