--- ray/src/px/pfilt.c 2018/07/26 23:50:40 2.32 +++ ray/src/px/pfilt.c 2023/12/07 21:15:54 2.35 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: pfilt.c,v 2.32 2018/07/26 23:50:40 greg Exp $"; +static const char RCSid[] = "$Id: pfilt.c,v 2.35 2023/12/07 21:15:54 greg Exp $"; #endif /* * pfilt.c - program to post-process picture file. @@ -11,17 +11,11 @@ static const char RCSid[] = "$Id: pfilt.c,v 2.32 2018/ #include "copyright.h" #include -#include - +#include "pfilt.h" #include "platform.h" -#include "standard.h" -#include "rtio.h" -#include "color.h" -#include "view.h" #include "paths.h" -#include "pfilt.h" +#include "view.h" - #define FEQ(a,b) ((a) >= .98*(b) && (a) <= 1.02*(b)) double CHECKRAD = 2.0; /* radius to check for filtering */ @@ -348,7 +342,7 @@ headline( /* process line from header */ void *p ) { - char fmt[32]; + char fmt[MAXFMTLEN]; fputs(s, stdout); /* copy to output */ if (isaspect(s)) /* get aspect ratio */