diff --git a/ncal.c b/ncal.c index 6bf619a..8bd7dc2 100644 --- a/ncal.c +++ b/ncal.c @@ -917,7 +917,7 @@ printmonthr(int line, int col, int y, int m, int jd_flag, int highlightdate) dt.d = j - jan1 + 1; else sdater(j, &dt); - if (j == highlightdate && isatty(STDOUT_FILENO)) { + if (j == highlightdate) { mvaddstr(line+i, col+k-1, " "); attron(A_REVERSE); printw("%-.*s", dw-1, ds + dt.d * dw + 1);