diff options
Diffstat (limited to 'print/p5-PostScript/files/patch-TextBlock.pm')
-rw-r--r-- | print/p5-PostScript/files/patch-TextBlock.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/p5-PostScript/files/patch-TextBlock.pm b/print/p5-PostScript/files/patch-TextBlock.pm new file mode 100644 index 000000000000..0c4edd6d175e --- /dev/null +++ b/print/p5-PostScript/files/patch-TextBlock.pm @@ -0,0 +1,11 @@ +--- TextBlock.pm.orig 1999-08-11 14:04:36 UTC ++++ TextBlock.pm +@@ -54,7 +54,7 @@ sub numElements { + # Returns the number of elements in the TextBlock + # + my $self = shift; +- return $#{@$self}+1; ++ return scalar(@$self); + } + + sub Write { |