summaryrefslogtreecommitdiff
path: root/gs/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gs/lib')
-rw-r--r--gs/lib/pdfwrite.ps4
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/lib/pdfwrite.ps b/gs/lib/pdfwrite.ps
index 0434a9139..99e36005a 100644
--- a/gs/lib/pdfwrite.ps
+++ b/gs/lib/pdfwrite.ps
@@ -26,7 +26,7 @@
% XRef (dict): output_obj# => output_file_pos
% ToWrite: 0..N-1 => [obj# gen#]
-/.setlanguagelevel where { pop 2 .setlanguagelevel } if
+.languagelevel 2 .setlanguagelevel
.currentglobal true .setglobal
/PDFWRDEBUG where { pop } { /PDFWRDEBUG false def } ifelse
@@ -394,4 +394,4 @@ readonly def
end
} bind def
-.setglobal
+.setglobal .setlanguagelevel