aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-parse-edid
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-parse-edid')
-rwxr-xr-xmonitor-parse-edid4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor-parse-edid b/monitor-parse-edid
index 718b8c5..b95dd1f 100755
--- a/monitor-parse-edid
+++ b/monitor-parse-edid
@@ -467,8 +467,8 @@ sub parse_edid {
$edid{ratio_precision} = 'cm';
}
- if ($edid{feature_support}->{has_preferred_timing} && $edid{detailed_timings}[0]) {
- $edid{detailed_timings}[0]->{preferred} = 1;
+ if ($edid{feature_support}{has_preferred_timing} && $edid{detailed_timings}[0]) {
+ $edid{detailed_timings}[0]{preferred} = 1;
}
foreach my $h (@{$edid{detailed_timings}}) {