summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-08-04 05:23:46 +0000
committerOlivier Blin <oblin@mandriva.org>2005-08-04 05:23:46 +0000
commit8649f571217683ebc5db31757f4f58173a7b6bbe (patch)
tree91039d52a315cb0dcb4b1192299da2f7436de0fc /perl-install
parenta61ded9584f35a328aa0a0bfce96713102df910b (diff)
downloaddrakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar
drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.gz
drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.bz2
drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.tar.xz
drakx-8649f571217683ebc5db31757f4f58173a7b6bbe.zip
fix progress bar color
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/draksplash2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/draksplash b/perl-install/standalone/draksplash
index 6699bf5e2..f432e1bcf 100755
--- a/perl-install/standalone/draksplash
+++ b/perl-install/standalone/draksplash
@@ -182,7 +182,7 @@ sub choose_color() {
$color->cancel_button->signal_connect(clicked => sub { $color->destroy });
$color->ok_button->signal_connect(clicked => sub {
my $colour = $color->colorsel->get_current_color;
- $theme{conf}{pc} = "0x" . join('', map { print "$_\n"; sprintf("%x", $_*255) } $colour->red, $colour->green, $colour->blue);
+ $theme{conf}{pc} = "0x" . join('', map { sprintf("%x", $_/255) } $colour->red, $colour->green, $colour->blue);
$color->destroy;
});
}