summaryrefslogtreecommitdiff
path: root/contrib/mm/mmroff.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/mm/mmroff.pl')
-rw-r--r--contrib/mm/mmroff.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/mm/mmroff.pl b/contrib/mm/mmroff.pl
index 69b6105b..1a4ff46d 100644
--- a/contrib/mm/mmroff.pl
+++ b/contrib/mm/mmroff.pl
@@ -66,11 +66,12 @@ while(<MACRO>) {
close(MACRO);
-if ($rfilename && @out) {
+if ($rfilename) {
push(@out, ".nr pict*max-height $max_height\n") if defined $max_height;
push(@out, ".nr pict*max-width $max_width\n") if defined $max_width;
open(OUT, ">$rfilename") || "create $rfilename:$!";
+ print OUT '.\" references', "\n";
my $i;
for $i (@out) {
print OUT $i;