X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/105395ab9b3fb60628ff27062b6ce3f1f968021f..b2cc954248dff07883ef749c1c2851dd07e0d400:/uip/scansbr.c diff --git a/uip/scansbr.c b/uip/scansbr.c index 3c6b771d..ce49bee2 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -134,7 +134,9 @@ scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg, if (used_buf == NULL) adios (NULL, "unable to allocate component buffer stack"); used_buf += ncomps+1; *--used_buf = 0; - rlwidth = bodycomp && (width > SBUFSIZ) ? min (width, BUFSIZ) : SBUFSIZ; + rlwidth = bodycomp && (width > SBUFSIZ) + ? min (width, NMH_BUFSIZ) + : SBUFSIZ; for (i = ncomps; i--; ) *nxtbuf++ = mh_xmalloc(rlwidth); }