summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-03-10 14:39:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-03-10 14:39:13 +0000
commitf5e4150efcbe026fbf23a52e7d094fd978d2eaad (patch)
tree9a6c7b63eef83fcca5fd11aa1ca5aaf3b230569f /perl-install/Xconfig
parent3e9f740e5efcace5ef8ce6998aeacdb1c42df3ca (diff)
downloaddrakx-backup-do-not-use-f5e4150efcbe026fbf23a52e7d094fd978d2eaad.tar
drakx-backup-do-not-use-f5e4150efcbe026fbf23a52e7d094fd978d2eaad.tar.gz
drakx-backup-do-not-use-f5e4150efcbe026fbf23a52e7d094fd978d2eaad.tar.bz2
drakx-backup-do-not-use-f5e4150efcbe026fbf23a52e7d094fd978d2eaad.tar.xz
drakx-backup-do-not-use-f5e4150efcbe026fbf23a52e7d094fd978d2eaad.zip
(getinfoFromDDC) fix crash (eg when called from hwdb-clients)
Diffstat (limited to 'perl-install/Xconfig')
-rw-r--r--perl-install/Xconfig/monitor.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index 1f09e1764..8e4d91e59 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -177,6 +177,7 @@ sub getinfoFromDDC() {
if ($vbe =~ /Memory: (\d+)k/) {
$monitor->{VideoRam_probed} = $1;
}
+ require Xconfig::xfree;
$monitor->{ModeLine} = Xconfig::xfree::default_ModeLine();
my $detailed_timings = $monitor->{detailed_timings} || [];
foreach (grep { !$_->{bad_ratio} } @$detailed_timings) {