summaryrefslogtreecommitdiff
path: root/usr.sbin/config/ukc.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 00:47:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-04 00:47:02 +0000
commitbd21960d4481f62d9a884fc34553a984ef01dcff (patch)
tree9e219425deae665922afa46787a0edc2d09de3a0 /usr.sbin/config/ukc.c
parent2af1f69fc494070f86b592a867d4ae3f99d61e39 (diff)
Wall and spacing, I am hunting bugs
Diffstat (limited to 'usr.sbin/config/ukc.c')
-rw-r--r--usr.sbin/config/ukc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/config/ukc.c b/usr.sbin/config/ukc.c
index 0d59aa53eb5..f8147f742fe 100644
--- a/usr.sbin/config/ukc.c
+++ b/usr.sbin/config/ukc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ukc.c,v 1.11 2003/06/28 04:55:07 deraadt Exp $ */
+/* $OpenBSD: ukc.c,v 1.12 2004/01/04 00:47:01 deraadt Exp $ */
/*
* Copyright (c) 1999-2001 Mats O Jansson. All rights reserved.
@@ -25,7 +25,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ukc.c,v 1.11 2003/06/28 04:55:07 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ukc.c,v 1.12 2004/01/04 00:47:01 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -228,7 +228,7 @@ init(void)
if ((s = getenv("LINES")) != NULL)
sc_height = atoi(s);
else
- sc_height = tgetnum("li");
+ sc_height = tgetnum("li");
if (sc_height <= 0)
sc_height = 24;
@@ -236,9 +236,9 @@ init(void)
if ((s = getenv("COLUMNS")) != NULL)
sc_width = atoi(s);
else
- sc_width = tgetnum("co");
+ sc_width = tgetnum("co");
- if (sc_width <= 0)
- sc_width = 80;
+ if (sc_width <= 0)
+ sc_width = 80;
#endif
}