From bc8978e101ee9717b04743181446b42062f5751d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 28 Feb 2005 22:47:57 +0000 Subject: don't have a (!) when the ratio is matching one of the ratio_name (in case of uncertain ratio_name) --- monitor-parse-edid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monitor-parse-edid') 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"; } } -- cgit v1.2.1