diff options
author | Richard Hughes <richard@hughsie.com> | 2017-11-06 08:24:21 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-11-06 08:24:55 +0000 |
commit | af18fd29cf99e32a1a1a0ede4239f2c41a1f3811 (patch) | |
tree | 19e548bc3bc6d76baacca539f341d4b666d0a0ce | |
parent | fe10f76536bb27614ced04e0ff944dc6fb4625c0 (diff) | |
download | colord-af18fd29cf99e32a1a1a0ede4239f2c41a1f3811.tar.gz |
Fix the detection of duplicate EDIDs by comparing the hash value, not the ID
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 359316b..a226b4a 100644 --- a/src/cd-main.c +++ b/src/cd-main.c @@ -2246,7 +2246,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; |