From 4875c513925202863105e2af1b368f2da6163d8e Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 28 Oct 1995 22:48:27 +0000 Subject: Now works with 8bit chars... --- usr.bin/write/write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/write') diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 7d99f21..a609cd2 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -308,7 +308,7 @@ wr_fputs(s) #define PUTC(c) if (putchar(c) == EOF) goto err; for (; *s != '\0'; ++s) { - c = toascii(*s); + c = *s; if (c == '\n') { PUTC('\r'); PUTC('\n'); -- cgit v1.1