diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/dvi/dvigen.w | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/dvi/dvigen.w b/Build/source/texk/web2c/luatexdir/dvi/dvigen.w index b158524d99c..4277d6a6bbe 100644 --- a/Build/source/texk/web2c/luatexdir/dvi/dvigen.w +++ b/Build/source/texk/web2c/luatexdir/dvi/dvigen.w @@ -1261,8 +1261,7 @@ void ensure_dvi_header_written(PDF pdf) dvi_four(473628672); /* conversion ratio for sp */ prepare_mag(); dvi_four(mag); /* magnification factor is frozen */ - if (output_comment) { - l = (unsigned) strlen(output_comment); + if (output_comment && (l = (unsigned) strlen(output_comment)) ) { dvi_out(l); for (s = 0; s <= l - 1; s++) dvi_out(output_comment[s]); |