Commit Diff


commit - c3b318d03e2208287f9ada2f6f9c759dfc0ba576
commit + dee2c213ed24c0b0fa01f22f144e5088e2b028e0
blob - 8f15714d22fd33711dbd4d25a832b0277d23134a
blob + 1586b0cde4e0cf1d65db30b9a5e44ae7a347674a
--- tog/tog.c
+++ tog/tog.c
@@ -1294,7 +1294,7 @@ draw_commit(struct tog_view *view, struct got_commit_o
 	if (newline)
 		*newline = '\0';
 	limit = avail - col;
-	err = format_line(&wlogmsg, &logmsg_width, logmsg, limit, 0);
+	err = format_line(&wlogmsg, &logmsg_width, logmsg, limit, col);
 	if (err)
 		goto done;
 	waddwstr(view->window, wlogmsg);