ports/print/a2ps/files/patch-title.c
2021-07-28 07:51:52 +02:00

11 lines
344 B
C

--- lib/title.c.orig 1999-08-28 16:54:19 UTC
+++ lib/title.c
@@ -88,6 +88,8 @@ title (stream, c, center_p, format, va_alist)
if (center_p)
for (padding = 0 ; padding < 79 - len ; padding += 2)
putc (' ', stream);
+ va_end(args);
+ VA_START(args, format);
# if HAVE_VPRINTF || _LIBC
vfprintf (stream, format, args);
# else