diff options
author | Richard Hughes <richard@hughsie.com> | 2017-11-06 08:24:21 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-11-06 19:19:59 +0000 |
commit | 4df4035a3a88109e831240fed9843db5d2393d29 (patch) | |
tree | bcf6043ad0391e4e06d98a2d261b6fe840fb30b0 | |
parent | 8e2e16015269ce98e34dd829e2a1dfd9bca54568 (diff) | |
download | colord-1-3.tar.gz |
Fix the detection of duplicate EDIDs by comparing the hash value, not the IDcolord-1-3
Fixes: https://github.com/hughsie/colord/issues/60
-rw-r--r-- | src/cd-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cd-main.c b/src/cd-main.c index ee475f8..544d32d 100644 --- a/src/cd-main.c +++ b/src/cd-main.c @@ -2406,7 +2406,7 @@ cd_main_check_duplicate_edids (void) use_xrandr_mode = TRUE; } g_hash_table_insert (hash, - g_strdup (cd_main_get_display_id (edid)), + g_strdup (cd_edid_get_checksum (edid)), GINT_TO_POINTER (1)); } return use_xrandr_mode; |