diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-15 19:13:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-15 19:13:05 +0000 |
commit | 62f26a79f14180f2212a5e599315677067cea49f (patch) | |
tree | cd20ba25a8149fb5dc58bd25e0863aca1073ae54 | |
parent | b588568ff23305379bbc409507f8d5a023f4784b (diff) | |
download | drakx-62f26a79f14180f2212a5e599315677067cea49f.tar drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.gz drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.bz2 drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.xz drakx-62f26a79f14180f2212a5e599315677067cea49f.zip |
(installPackages): fix i_images
-rw-r--r-- | perl-install/install_steps_gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |