summaryrefslogtreecommitdiff
path: root/Build/source/texk/psutils/TLpatches/patch-40-W-H
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/psutils/TLpatches/patch-40-W-H')
-rw-r--r--Build/source/texk/psutils/TLpatches/patch-40-W-H15
1 files changed, 15 insertions, 0 deletions
diff --git a/Build/source/texk/psutils/TLpatches/patch-40-W-H b/Build/source/texk/psutils/TLpatches/patch-40-W-H
new file mode 100644
index 00000000000..1ca6675ee56
--- /dev/null
+++ b/Build/source/texk/psutils/TLpatches/patch-40-W-H
@@ -0,0 +1,15 @@
+diff -ur psutils-1.23.orig/psnup.c psutils-1.23/psnup.c
+--- psutils-1.23.orig/psnup.c Thu Jan 16 19:20:54 2014
++++ psutils-1.23/psnup.c Sat Sep 01 08:17:34 2018
+@@ -195,9 +195,9 @@
+ scanpages(sizeheaders);
+
+ /* set default values of input height & width */
+- if ( iwidth > 0 && width == -1 )
++ if ( iwidth > 0 )
+ width = iwidth ;
+- if ( iheight > 0 && height == -1 )
++ if ( iheight > 0 )
+ height = iheight ;
+
+ /* Finding the best layout is an optimisation problem. We try all of the