aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-parse-edid
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-parse-edid')
-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";
}
}