summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_bsd.c
diff options
context:
space:
mode:
authormichaels <michaels@cvs.openbsd.org>1996-08-16 17:58:49 +0000
committermichaels <michaels@cvs.openbsd.org>1996-08-16 17:58:49 +0000
commit418c0bbade1dcb322b7abdbed4064993de8086c2 (patch)
tree4bad4d39a1f432f68cae3d673074f4b724aba879 /usr.bin/vi/cl/cl_bsd.c
parent445816164da4c953591f89549fdd9bc8825aa8c8 (diff)
nvi 1.73
Diffstat (limited to 'usr.bin/vi/cl/cl_bsd.c')
-rw-r--r--usr.bin/vi/cl/cl_bsd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.bin/vi/cl/cl_bsd.c b/usr.bin/vi/cl/cl_bsd.c
index c78c3e27d08..4a06a54af2f 100644
--- a/usr.bin/vi/cl/cl_bsd.c
+++ b/usr.bin/vi/cl/cl_bsd.c
@@ -176,13 +176,16 @@ setupterm(ttype, fno, errp)
if ((*errp = tgetent(buf, ttype)) > 0) {
if (ke != NULL)
free(ke);
- ke = ((p = tigetstr("rmkx")) == (char *)-1) ? NULL : strdup(p);
+ ke = ((p = tigetstr("rmkx")) == (char *)-1) ?
+ NULL : strdup(p);
if (ks != NULL)
free(ks);
- ks = ((p = tigetstr("smkx")) == (char *)-1) ? NULL : strdup(p);
+ ks = ((p = tigetstr("smkx")) == (char *)-1) ?
+ NULL : strdup(p);
if (vb != NULL)
free(vb);
- vb = ((p = tigetstr("flash")) == (char *)-1) ? NULL : strdup(p);
+ vb = ((p = tigetstr("flash")) == (char *)-1) ?
+ NULL : strdup(p);
}
}
#endif /* !HAVE_CURSES_SETUPTERM */