xserver: Branch 'master'
Peter Hutterer
whot at kemper.freedesktop.org
Tue May 27 04:51:24 PDT 2008
hw/xfree86/ddc/interpret_edid.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 64677f6a167a5bee99e5dfb599a3c3a6fb5dffe7
Author: Peter Hutterer <peter at cs.unisa.edu.au>
Date: Tue May 27 21:01:26 2008 +0930
xfree86: fix offset error in EDID parsing. #15964
X.Org Bug 15964 <http://bugs.freedesktop.org/show_bug.cgi?id=15964>
diff --git a/hw/xfree86/ddc/interpret_edid.c b/hw/xfree86/ddc/interpret_edid.c
index 21391dd..b319699 100644
--- a/hw/xfree86/ddc/interpret_edid.c
+++ b/hw/xfree86/ddc/interpret_edid.c
@@ -349,14 +349,14 @@ get_monitor_ranges(Uchar *c, struct monitor_ranges *r)
static void
get_whitepoint_section(Uchar *c, struct whitePoints *wp)
{
- wp[1].white_x = WHITEX1;
- wp[1].white_y = WHITEY1;
- wp[2].white_x = WHITEX2;
- wp[2].white_y = WHITEY2;
- wp[1].index = WHITE_INDEX1;
- wp[2].index = WHITE_INDEX2;
- wp[1].white_gamma = WHITE_GAMMA1;
- wp[2].white_gamma = WHITE_GAMMA2;
+ wp[0].white_x = WHITEX1;
+ wp[0].white_y = WHITEY1;
+ wp[1].white_x = WHITEX2;
+ wp[1].white_y = WHITEY2;
+ wp[0].index = WHITE_INDEX1;
+ wp[1].index = WHITE_INDEX2;
+ wp[0].white_gamma = WHITE_GAMMA1;
+ wp[1].white_gamma = WHITE_GAMMA2;
}
static void
More information about the xorg-commit
mailing list