1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/www/WebMagick/files/patch-aa

12 lines
472 B
Plaintext

--- webmagick.in.bak Wed Dec 5 16:52:39 2001
+++ webmagick.in Fri Mar 15 06:23:40 2002
@@ -2472,7 +2472,7 @@
} else {
print ( PICHTML "<A${target} HREF=\"");
if ($imageNum == 0 && $pageNumber != 1) {
- print ( PICHTML $imageNames[$pageNumber - 2][${numimages} - 1]);
+ print ( PICHTML $imageNames[$pageNumber - 2][$#{$imageNames[$pageNumber - 2]}]);
} else {
print ( PICHTML $imageNames[$pageNumber - 1][${imageNum} - 1]);
}