summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf/scripts/texlive/papersize-setting.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/papersize-setting.pl b/Master/texmf/scripts/texlive/papersize-setting.pl
index 56e44dc21fb..fe70d483689 100644
--- a/Master/texmf/scripts/texlive/papersize-setting.pl
+++ b/Master/texmf/scripts/texlive/papersize-setting.pl
@@ -187,7 +187,7 @@ sub paper_pdftex {
my @ret;
push @ret, "$currentpaper";
for my $p (keys %pdftex_papersize) {
- push @ret, $p;
+ push @ret, $p unless ($p eq $currentpaper);
}
return @ret;
} else {