summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_screen.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-03-06 20:27:46 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-03-06 20:27:46 +0000
commit7d4955aec89412abcaf55d02c734dc4c4f7bebaa (patch)
treefc4d09823ff0bee371e60685abc32425920c01cf /usr.bin/vi/cl/cl_screen.c
parent4cc3b0bb60e7d05b2491df58696cad3fc6d943ec (diff)
back out changes that should not have escaped my local tree
Diffstat (limited to 'usr.bin/vi/cl/cl_screen.c')
-rw-r--r--usr.bin/vi/cl/cl_screen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/vi/cl/cl_screen.c b/usr.bin/vi/cl/cl_screen.c
index 2049f91c67e..23e74be812c 100644
--- a/usr.bin/vi/cl/cl_screen.c
+++ b/usr.bin/vi/cl/cl_screen.c
@@ -17,8 +17,8 @@ static const char sccsid[] = "@(#)cl_screen.c 10.49 (Berkeley) 9/24/96";
#include <sys/queue.h>
#include <bitstring.h>
-#include <curses.h>
#include <errno.h>
+#include <curses.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
@@ -195,8 +195,7 @@ cl_vi_init(sp)
/* Curses vi always reads from (and writes to) a terminal. */
if (!F_ISSET(clp, CL_STDIN_TTY) || !isatty(STDOUT_FILENO)) {
msgq(sp, M_ERR,
- "016|vi's standard input and output must both refer to a
- terminal");
+ "016|Vi's standard input and output must be a terminal");
return (1);
}