diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-03-01 10:03:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-03-01 10:03:42 +0000 |
commit | 9d7012b7e6403f8631345f92bb7b96ac547a838c (patch) | |
tree | eca87c8d3b9d5401e5a4a67744b8f97a15ae52fb /perl-install | |
parent | 9eb47bdd6d112f361ff077e7cf5b3e75654d32ad (diff) | |
download | drakx-9d7012b7e6403f8631345f92bb7b96ac547a838c.tar drakx-9d7012b7e6403f8631345f92bb7b96ac547a838c.tar.gz drakx-9d7012b7e6403f8631345f92bb7b96ac547a838c.tar.bz2 drakx-9d7012b7e6403f8631345f92bb7b96ac547a838c.tar.xz drakx-9d7012b7e6403f8631345f92bb7b96ac547a838c.zip |
skip detailed_timings flagged bad_ratio
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/Xconfig/monitor.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfig/monitor.pm b/perl-install/Xconfig/monitor.pm index abd141236..964380899 100644 --- a/perl-install/Xconfig/monitor.pm +++ b/perl-install/Xconfig/monitor.pm @@ -179,6 +179,7 @@ sub getinfoFromDDC() { } $monitor->{ModeLine} = Xconfig::xfree::default_ModeLine(); foreach (@{$monitor->{detailed_timings} || []}) { + next if $_->{bad_ratio}; unshift @{$monitor->{ModeLine}}, { val => $_->{ModeLine}, pre_comment => $_->{ModeLine_comment} . "\n" }; } |