summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-15 19:13:05 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-15 19:13:05 +0000
commit62f26a79f14180f2212a5e599315677067cea49f (patch)
treecd20ba25a8149fb5dc58bd25e0863aca1073ae54 /perl-install
parentb588568ff23305379bbc409507f8d5a023f4784b (diff)
downloaddrakx-62f26a79f14180f2212a5e599315677067cea49f.tar
drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.gz
drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.bz2
drakx-62f26a79f14180f2212a5e599315677067cea49f.tar.xz
drakx-62f26a79f14180f2212a5e599315677067cea49f.zip
(installPackages): fix i_images
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_gtk.pm2
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");