Commit Diff


commit - 5a5defb7f6bd8e14034b3cb70b3fadb7db246a77
commit + f517f81a73a9457b33ef2da2f67f87e7ea95924c
blob - 2cced308bd760646e36ca461e25e4c2323e5565b
blob + 239bf9fe528a7c61926e9a65cdfe27dc99a9cc43
--- tog/tog.c
+++ tog/tog.c
@@ -2488,9 +2488,16 @@ draw_commit(struct tog_view *view, struct commit_queue
 	while (col < avail && author_width < author_display_cols + 2) {
 		if (tog_base_commit.id != NULL &&
 		    author_width == marker_column &&
-		    entry->idx == tog_base_commit.idx)
+		    entry->idx == tog_base_commit.idx) {
+			tc = get_color(&s->colors, TOG_COLOR_COMMIT);
+			if (tc)
+				wattr_on(view->window,
+				    COLOR_PAIR(tc->colorpair), NULL);
 			waddch(view->window, tog_base_commit.marker);
-		else
+			if (tc)
+				wattr_off(view->window,
+				    COLOR_PAIR(tc->colorpair), NULL);
+		} else
 			waddch(view->window, ' ');
 		col++;
 		author_width++;