summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/monitor.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-10 11:05:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-10 11:05:48 +0000
commit9e75bee26adde9e3385984d16a433dcf49c20f28 (patch)
tree3bb62d316ad84dffcbc9c260e4e21341ec43d5de /perl-install/Xconfig/monitor.pm
parent58da596541baa1836211336249aa38c1b2bf83b4 (diff)
downloaddrakx-9e75bee26adde9e3385984d16a433dcf49c20f28.tar
drakx-9e75bee26adde9e3385984d16a433dcf49c20f28.tar.gz
drakx-9e75bee26adde9e3385984d16a433dcf49c20f28.tar.bz2
drakx-9e75bee26adde9e3385984d16a433dcf49c20f28.tar.xz
drakx-9e75bee26adde9e3385984d16a433dcf49c20f28.zip
simplify
Diffstat (limited to 'perl-install/Xconfig/monitor.pm')
-rw-r--r--perl-install/Xconfig/monitor.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm
index f94177c6f..1f09e1764 100644
--- a/perl-install/Xconfig/monitor.pm
+++ b/perl-install/Xconfig/monitor.pm
@@ -180,7 +180,6 @@ sub getinfoFromDDC() {
$monitor->{ModeLine} = Xconfig::xfree::default_ModeLine();
my $detailed_timings = $monitor->{detailed_timings} || [];
foreach (grep { !$_->{bad_ratio} } @$detailed_timings) {
- my $res = join('x', $_->{horizontal_active}, $_->{horizontal_active});
my $ratio = $_->{horizontal_active} / $_->{vertical_active};
if (abs($ratio - 4 / 3) < 0.01) {