commit - 41d6d08ab3f441b8bcef117efcf654e2253bf4e6
commit + f0f62654dd608d01879094d1f491287f0f7029f1
blob - 7c4a3a3ec931571a98d0d6e4cf5ece1a0c3a0fc5
blob + fafcec33d71453b09074d2b18e0708b52a197fbe
--- tog/tog.c
+++ tog/tog.c
wattr_on(view->window,
COLOR_PAIR(tc->colorpair), NULL);
waddwstr(view->window, wauthor);
- if (tc)
- wattr_off(view->window,
- COLOR_PAIR(tc->colorpair), NULL);
col += author_width;
while (col < avail && author_width < author_display_cols + 2) {
waddch(view->window, ' ');
col++;
author_width++;
}
+ if (tc)
+ wattr_off(view->window,
+ COLOR_PAIR(tc->colorpair), NULL);
if (col > avail)
goto done;