Off-by-one. Fix.
authorSteinar H. Gunderson <sesse@debian.org>
Thu, 12 Apr 2007 00:14:37 +0000 (02:14 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Thu, 12 Apr 2007 00:14:37 +0000 (02:14 +0200)
perl/Sesse/pr0n/Index.pm

index 754c98804ace0d5df8f364a31e4885e772455933..e91d9c17b485264f9fd6b3b2acf5a7722513c72f 100644 (file)
@@ -201,7 +201,7 @@ sub handler {
 
                my $toclose = 0;
                my $lastupl = "";
-               my $img_num = (defined($start) && defined($num)) ? $start : 0;
+               my $img_num = (defined($start) && defined($num)) ? $start : 1;
                
                # Print out all thumbnails
                if ($rot == 1) {