col: buffer 128 lines by default

This commit is contained in:
Hiltjo Posthuma 2015-03-30 21:48:26 +02:00
parent 398598dbbe
commit 24c6df3d73
2 changed files with 3 additions and 3 deletions

4
col.1
View File

@ -54,7 +54,7 @@ Do not convert spaces to tabs.
.It Fl l Ar num
Buffer
.Ar num
lines in memory.
lines in memory. By default, 128 lines are buffered.
.El
.Sh SEE ALSO
.Xr nroff 1 ,
@ -62,7 +62,7 @@ lines in memory.
.Xr ms 6
.Sh BUGS
.Nm
only buffers up to 256 lines with up to 800 bytes per line
only buffers up to 128 lines with up to 800 bytes per line
if the line-number hasn't been set differently with the
.Op Fl l
flag.

2
col.c
View File

@ -8,7 +8,7 @@
#include "utf.h"
#include "util.h"
#define NLINES 256
#define NLINES 128
#define NCOLS 800
static Rune **buf;