X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fascii.c;h=738526f388e2b4ba3241471faeac348133374d29;hb=0ef6ac022673935ef842a1059aad45b89d59f025;hp=bd55d0efee9b94905dde4dec4715d7c8065f07c5;hpb=8cf495e615e4feca5777f3592de98321d4fcdc0b;p=pspp-builds.git diff --git a/src/ascii.c b/src/ascii.c index bd55d0ef..738526f3 100644 --- a/src/ascii.c +++ b/src/ascii.c @@ -26,6 +26,7 @@ #include "alloc.h" #include "error.h" #include "filename.h" +#include "glob.h" #include "main.h" #include "misc.h" #include "output.h" @@ -1579,7 +1580,8 @@ ascii_close_page (struct outp_driver *this) { char temp[40]; - snprintf (temp, 80, _("%s - Page %d"), curdate, x->page_number); + snprintf (temp, 80, _("%s - Page %d"), get_start_date (), + x->page_number); memcpy (&s[x->w - strlen (temp)], temp, strlen (temp)); }