From 71cf9f804771260d5b3732b793501cb5e2d992b9 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 28 Mar 2005 19:19:37 +0000 Subject: Linefeed is part of a line according to POSIX, so take that into account when computing line wraps. ok deraadt@ --- usr.bin/dc/inout.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/dc/inout.c') diff --git a/usr.bin/dc/inout.c b/usr.bin/dc/inout.c index 36d205b61b1..c0206535207 100644 --- a/usr.bin/dc/inout.c +++ b/usr.bin/dc/inout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto Exp $ */ +/* $OpenBSD: inout.c,v 1.11 2005/03/28 19:19:36 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto Exp $"; +static const char rcsid[] = "$OpenBSD: inout.c,v 1.11 2005/03/28 19:19:36 otto Exp $"; #endif /* not lint */ #include @@ -27,7 +27,7 @@ static const char rcsid[] = "$OpenBSD: inout.c,v 1.10 2005/03/27 18:10:42 otto E #include "extern.h" -#define MAX_CHARS_PER_LINE 69 +#define MAX_CHARS_PER_LINE 68 static int charCount; -- cgit v1.2.3