diff options
-rw-r--r-- | NEWS | 4 | ||||
-rwxr-xr-x | monitor-edid | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -28,6 +28,10 @@ monitor reports as preferred, and add "Monitor supported modeline" comment for the other modelines +- monitor-edid, monitor-get-edid: + o do not get duplicate EDIDs if the same EDID is available via + multiple methods + Version 2.5 - 18 October 2009, by Anssi Hannula - monitor-probe-using-X: diff --git a/monitor-edid b/monitor-edid index 3f4d7a2..d1e7d61 100755 --- a/monitor-edid +++ b/monitor-edid @@ -101,6 +101,8 @@ sub get_edids { } } } + my %seen = (); + @l = grep { !$seen{ $_[1] }++ } @l; @l; } |