aboutsummaryrefslogtreecommitdiffstats
path: root/z49.c
diff options
context:
space:
mode:
Diffstat (limited to 'z49.c')
-rw-r--r--z49.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/z49.c b/z49.c
index 91e001a..0a13c82 100644
--- a/z49.c
+++ b/z49.c
@@ -1,7 +1,7 @@
/*@z49.c:PostScript Back End:PS_BackEnd@**************************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.39) */
-/* COPYRIGHT (C) 1991, 2008 Jeffrey H. Kingston */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.41) */
+/* COPYRIGHT (C) 1991, 2023 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@it.usyd.edu.au) */
/* School of Information Technologies */
@@ -28,6 +28,7 @@
/* */
/*****************************************************************************/
#include "externs.h"
+#include "child.h"
#define pnl fputs((char *) STR_NEWLINE, out_fp)
#define p0(str) { fputs(str, out_fp); pnl; }
@@ -1117,7 +1118,7 @@ static void PS_PrintBeforeFirstPage(FULL_LENGTH h, FULL_LENGTH v,
/* print one PostScript form for each @IncludeGraphicRepeated entry */
if( incg_files != nilobj )
- { int fnum; FILE *fp; BOOLEAN junk, cp; OBJECT link, x, full_name;
+ { int fnum; FILE *fp; BOOLEAN /* junk, */ cp; OBJECT link, x, full_name;
p0("<< /MaxFormItem currentsystemparams /MaxFormCache get >> setuserparams");
pnl;
fnum = 1;
@@ -1134,7 +1135,7 @@ static void PS_PrintBeforeFirstPage(FULL_LENGTH h, FULL_LENGTH v,
KW_INCG_REPEATED, string(x));
/* find its bounding box and file size */
- junk = PS_FindBoundingBox(fp, &fpos(x), &llx, &lly, &urx, &ury);
+ /* junk = */ PS_FindBoundingBox(fp, &fpos(x), &llx, &lly, &urx, &ury);
fseek(fp, 0L, SEEK_END);
file_size = ftell(fp);
rewind(fp);
@@ -1368,7 +1369,10 @@ static void PS_PrintWord(OBJECT x, int hpos, int vpos)
break;
}
else
- { while( *++a );
+ { while( *++a )
+ {
+ /* empty statement added by JeffK 17/6/23 */
+ }
a++;
}
}