X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fpostscript.c;h=b26676a92096c441254e9ab67245ad2120792e93;hb=b990f5c31bc831e588a86f9f4826387c6843c989;hp=5d0d577607687132fb95cf7c5f2db8a23341d215;hpb=11815efff162eacc5a46666af7876035f665965c;p=pspp-builds.git diff --git a/src/output/postscript.c b/src/output/postscript.c index 5d0d5776..b26676a9 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -935,7 +935,7 @@ output_encodings (struct outp_driver *this) where.line_number = 0; err_push_file_locator (&where); - while (ds_get_config_line (f, &buf, &where)) + while (ds_get_config_line (f, &buf, &where.line_number)) { char *sp; @@ -1104,7 +1104,7 @@ read_ps_encodings (struct outp_driver *this) for (;;) { - if (!ds_get_config_line (f, &line, &where)) + if (!ds_get_config_line (f, &line, &where.line_number)) { if (ferror (f)) msg (ME, _("Reading %s: %s."), encoding_fn, strerror (errno));