aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-02-28 22:47:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-02-28 22:47:57 +0000
commitbc8978e101ee9717b04743181446b42062f5751d (patch)
tree3f3e245ce7500ccd4f0aa9616a0693e46e19f080
parent316d213c96e21449f0c3e4d79fe87b64dc69ae13 (diff)
downloadmonitor-edid-bc8978e101ee9717b04743181446b42062f5751d.tar
monitor-edid-bc8978e101ee9717b04743181446b42062f5751d.tar.gz
monitor-edid-bc8978e101ee9717b04743181446b42062f5751d.tar.bz2
monitor-edid-bc8978e101ee9717b04743181446b42062f5751d.tar.xz
monitor-edid-bc8978e101ee9717b04743181446b42062f5751d.zip
don't have a (!) when the ratio is matching one of the ratio_name (in case of uncertain ratio_name)
-rwxr-xr-xmonitor-parse-edid2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 94c5480..6391551 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -367,7 +367,7 @@ sub print_edid {
if ($verbose && $edid->{standard_timings}) {
foreach (@{$edid->{standard_timings}}) {
print "Standard resolution: $_->{X}x$_->{Y} @ $_->{vfreq} Hz, ratio $_->{ratio}",
- $edid->{ratio_name} && $_->{ratio} ne $edid->{ratio_name} ? ' (!)' : '',
+ $edid->{ratio_name} && index($edid->{ratio_name}, $_->{ratio}) == -1 ? ' (!)' : '',
"\n";
}
}