Remove useless things - tty-clock - port of tty-clock to OpenBSD, with pledge/unveil added as goodie.
(HTM) git clone https://git.drkhsh.at/tty-clock.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit cb7490ea17618b4a570fdb6237d65e077ccff375
(DIR) parent ddcbbd187331fbfde3dfe38b6b7939db1e375d62
(HTM) Author: Martin Duquesnoy <xorg62@gmail.com>
Date: Sun, 8 Mar 2009 20:28:33 +0100
Remove useless things
Diffstat:
M ttyclock.c | 5 -----
1 file changed, 0 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/ttyclock.c b/ttyclock.c
@@ -273,12 +273,7 @@ set_second(void)
if((ttyclock->option.second = !ttyclock->option.second))
clock_move(ttyclock->geo.x, ttyclock->geo.y, (ttyclock->geo.w = SECFRAMEW), ttyclock->geo.h);
else
- {
- /* Clean old second number on the terminal */
- wbkgdset(ttyclock->framewin, COLOR_PAIR(0));
- wclear(ttyclock->framewin);
clock_move(ttyclock->geo.x, ttyclock->geo.y, (ttyclock->geo.w = NORMFRAMEW), ttyclock->geo.h);
- }
set_center(ttyclock->option.center);