summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-13 14:48:59 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-13 14:48:59 +0000
commita976235791b70bfe49785571a0c59ca18a50a565 (patch)
tree4ef869dfdc955de73a8d77dfe2ff7f2bf7de3e5a /perl-install/Xconfig
parent6f03a84148ac2d0aa1e64b7d64c3071d89317492 (diff)
downloaddrakx-backup-do-not-use-a976235791b70bfe49785571a0c59ca18a50a565.tar
drakx-backup-do-not-use-a976235791b70bfe49785571a0c59ca18a50a565.tar.gz
drakx-backup-do-not-use-a976235791b70bfe49785571a0c59ca18a50a565.tar.bz2
drakx-backup-do-not-use-a976235791b70bfe49785571a0c59ca18a50a565.tar.xz
drakx-backup-do-not-use-a976235791b70bfe49785571a0c59ca18a50a565.zip
(configure_everything_or_configure_chooser) keyboard and mouse
paremeters really are optional, Xconfig::default::configure() handle the fact they're undefined for us
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/main.pm b/perl-install/Xconfig/main.pm
index 38b0c0e64..ee1065f49 100644
--- a/perl-install/Xconfig/main.pm
+++ b/perl-install/Xconfig/main.pm
@@ -141,9 +141,9 @@ sub configure_chooser {
}
sub configure_everything_or_configure_chooser {
- my ($in, $options, $auto, $keyboard, $mouse) = @_;
+ my ($in, $options, $auto, $o_keyboard, $o_mouse) = @_;
my $raw_X = Xconfig::xfree->read;
- my $default = Xconfig::default::configure($keyboard, $mouse);
+ my $default = Xconfig::default::configure($o_keyboard, $o_mouse);
my $has_conf = @{$raw_X->{xfree3}} || @{$raw_X->{xfree4}};
$raw_X->{xfree3} = $default->{xfree3} if !@{$raw_X->{xfree3}};
$raw_X->{xfree4} = $default->{xfree4} if !@{$raw_X->{xfree4}};