Started converting the make check target to aegis style tests
[pspp-builds.git] / src / output.c
index 86e8534cedad1efcc659f7cc81346406a707887d..370ad5910cf6b2241d13bc8d1b2aa38592863c5f 100644 (file)
@@ -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;