From: Jakob Haufe Date: Thu, 6 Jul 2017 13:18:10 +0000 (+0000) Subject: Fix x/y typo X-Git-Tag: v0.2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58d8501abfac8c082d4abd58bb10dbef2addf760;p=pdfstitch Fix x/y typo Page offsets for x were applied to both directions while the values for y were ignored. --- diff --git a/pdfstitch b/pdfstitch index e60a2b1..2a46d0e 100755 --- a/pdfstitch +++ b/pdfstitch @@ -134,7 +134,7 @@ else next if $pagenr eq "blank"; my $llx = $meta->{x} + $meta->{pageoffsets}->{$pagenr}->{x}; - my $lly = $meta->{y} + $meta->{pageoffsets}->{$pagenr}->{x}; + my $lly = $meta->{y} + $meta->{pageoffsets}->{$pagenr}->{y}; my $urx = $meta->{width}; my $ury = $meta->{height};