diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-06-08 16:10:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-06-08 16:10:07 +0000 |
commit | 6ec0928d313947d512db513730710b5f54cc56c9 (patch) | |
tree | 5ec9e2eabd34ce31d7c54125d6ace479216f411c | |
parent | 0aafe3d5098c270425ce74729eae2ce8f43f56c2 (diff) | |
download | drakx-backup-do-not-use-6ec0928d313947d512db513730710b5f54cc56c9.tar drakx-backup-do-not-use-6ec0928d313947d512db513730710b5f54cc56c9.tar.gz drakx-backup-do-not-use-6ec0928d313947d512db513730710b5f54cc56c9.tar.bz2 drakx-backup-do-not-use-6ec0928d313947d512db513730710b5f54cc56c9.tar.xz drakx-backup-do-not-use-6ec0928d313947d512db513730710b5f54cc56c9.zip |
fix typo causing "Out of memory"
-rw-r--r-- | perl-install/Xconfig/monitor.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm index a83aa29d2..af19aa70f 100644 --- a/perl-install/Xconfig/monitor.pm +++ b/perl-install/Xconfig/monitor.pm @@ -57,7 +57,7 @@ sub configure_auto_install { $old_X->{monitors} = [ delete $old_X->{monitor} ]; } - my $monitors = [ $raw_X->get_or_new_monitors($old_X->{monitors} ? @{$old_X->{monitors}} : 1) ]; + my $monitors = [ $raw_X->get_or_new_monitors($old_X->{monitors} ? int @{$old_X->{monitors}} : 1) ]; mapn { my ($monitor, $auto_install_monitor) = @_; put_in_hash($monitor, $auto_install_monitor); |