X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput.c;h=370ad5910cf6b2241d13bc8d1b2aa38592863c5f;hb=c9b1c72477efa03e0a90f8afd9dafebc8f4b04ef;hp=86e8534cedad1efcc659f7cc81346406a707887d;hpb=eaf83d4cae00ae2e2ccccc3c02d5262330a31c8a;p=pspp diff --git a/src/output.c b/src/output.c index 86e8534ced..370ad5910c 100644 --- a/src/output.c +++ b/src/output.c @@ -1148,6 +1148,7 @@ outp_get_paper_size (char *size, int *h, int *v) where.filename = pprsz_fn; where.line_number = 0; err_push_file_locator (&where); + ds_init (NULL, &line, 128); if (pprsz_fn == NULL) { @@ -1163,7 +1164,6 @@ outp_get_paper_size (char *size, int *h, int *v) goto exit; } - ds_init (NULL, &line, 128); for (;;) { char *cp, *bp, *ep;