projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed another problem with print.sh
[pspp]
/
src
/
output.c
diff --git
a/src/output.c
b/src/output.c
index 8cf5bafa287ff7ef4bd75b8dee42c2b925224288..370ad5910cf6b2241d13bc8d1b2aa38592863c5f 100644
(file)
--- a/
src/output.c
+++ b/
src/output.c
@@
-287,6
+287,8
@@
outp_read_devices (void)
where.line_number = 0;
err_push_file_locator (&where);
where.line_number = 0;
err_push_file_locator (&where);
+ ds_init (NULL, &line, 128);
+
if (init_fn == NULL)
{
msg (IE, _("Cannot find output initialization file. Use `-vv' to view "
if (init_fn == NULL)
{
msg (IE, _("Cannot find output initialization file. Use `-vv' to view "
@@
-302,7
+304,6
@@
outp_read_devices (void)
goto exit;
}
goto exit;
}
- ds_init (NULL, &line, 128);
for (;;)
{
char *cp;
for (;;)
{
char *cp;
@@
-1147,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);
where.filename = pprsz_fn;
where.line_number = 0;
err_push_file_locator (&where);
+ ds_init (NULL, &line, 128);
if (pprsz_fn == NULL)
{
if (pprsz_fn == NULL)
{
@@
-1162,7
+1164,6
@@
outp_get_paper_size (char *size, int *h, int *v)
goto exit;
}
goto exit;
}
- ds_init (NULL, &line, 128);
for (;;)
{
char *cp, *bp, *ep;
for (;;)
{
char *cp, *bp, *ep;