diff options
author | Florian Höch <florian.hoech@gmx.de> | 2013-09-11 13:28:00 +0200 |
---|---|---|
committer | Florian Höch <florian.hoech@gmx.de> | 2013-09-11 13:28:00 +0200 |
commit | 7bf3013308a5cd6a65cf1faa97f8a1a4972a4a7a (patch) | |
tree | 4bf919dd4f3a33dacda61459120d7bdf5cf2a5fc | |
parent | ab222ed1fad31f96902c6f6ac0453ddc6d49df09 (diff) | |
download | colord-7bf3013308a5cd6a65cf1faa97f8a1a4972a4a7a.tar.gz |
Fix transposed bits for EDID red y
-rw-r--r-- | lib/colord/cd-edid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/colord/cd-edid.c b/lib/colord/cd-edid.c index ef2c223..74b0237 100644 --- a/lib/colord/cd-edid.c +++ b/lib/colord/cd-edid.c @@ -548,7 +548,7 @@ cd_edid_parse (CdEdid *edid, GBytes *edid_data, GError **error) /* get color red */ priv->red->x = cd_edid_decode_fraction (data[0x1b], cd_edid_get_bits (data[0x19], 6, 7)); - priv->red->y = cd_edid_decode_fraction (data[0x1c], cd_edid_get_bits (data[0x19], 5, 4)); + priv->red->y = cd_edid_decode_fraction (data[0x1c], cd_edid_get_bits (data[0x19], 4, 5)); /* get color green */ priv->green->x = cd_edid_decode_fraction (data[0x1d], cd_edid_get_bits (data[0x19], 2, 3)); |