fix typo - 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 7ffdcd55c1f6ddf615fa360bcac3d181fac1f05f
(DIR) parent 02931841830c44709c14b26f2aaa8753e298a7ef
(HTM) Author: martin <xorg62@gmail.com>
Date: Fri, 20 Jun 2008 01:16:45 +0200
fix typo
Diffstat:
M clock.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/clock.c b/clock.c
@@ -290,7 +290,6 @@ check_key(bool keylock) {
case 'C':
clear();
set_center();
-
break;
case 'q':
case 'Q':
@@ -351,7 +350,7 @@ set_center(void) {
maxcol = getmaxy(stdscr);
maxlin = getmaxx(stdscr);
- defy = maxlin / 2 - SCHANGE + 2;
+ defy = maxlin / 2 - SCHANGE + 3;
defx = maxcol / 2 - XLENGTH + 2;
}