freebsd-ports/print/psutils/files/patch-pserror.c
Hiroki Sato 5f8eb67e37 Merge print/psutils-a4 and print/psutils-letter into a single port
print/psutils.  The default paper size in the programs can be set via
libpaper ($PAPERSIZE or etc/papersize configuration file).
2013-04-24 04:13:09 +00:00

11 lines
459 B
C

--- pserror.c.orig 2011-06-21 04:20:14.000000000 +0900
+++ pserror.c 2011-06-21 04:20:31.000000000 +0900
@@ -24,7 +24,7 @@
void message(int flags, char *format, ...)
{
va_list args ;
- static column = 0 ; /* current screen column for message wrap */
+ static int column = 0 ; /* current screen column for message wrap */
char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */
char *bufptr = msgbuf ; /* message buffer pointer */