diff --git a/ttyclock.c b/ttyclock.c index ac92942..bc388fb 100644 --- a/ttyclock.c +++ b/ttyclock.c @@ -399,7 +399,8 @@ set_box(bool b) wbkgdset(ttyclock.framewin, COLOR_PAIR(0)); wbkgdset(ttyclock.datewin, COLOR_PAIR(0)); box(ttyclock.framewin, 0, 0); - box(ttyclock.datewin, 0, 0); + if (ttyclock.option.date) + box(ttyclock.datewin, 0, 0); } else { wborder(ttyclock.framewin, ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '); @@ -676,4 +677,5 @@ main(int argc, char **argv) return 0; } + // vim: expandtab tabstop=5 softtabstop=5 shiftwidth=5