From 62f26a79f14180f2212a5e599315677067cea49f Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 15 Feb 2001 19:13:05 +0000 Subject: (installPackages): fix i_images --- perl-install/install_steps_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index efdddcbd6..61368b9a9 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -522,7 +522,7 @@ sub installPackages { $i++; my $old_i_image = $i_image; - $i_image = int($i / $nb * $nb_images); + $i_image = int($i / $nb * $nb_images) % $nb_images; if ($old_i_image ne $i_image) { my $f = "$dir/ad-$i_image.png"; log::l("advertising $f"); -- cgit v1.2.1