summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-08-25 11:27:26 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-25 11:27:26 -0400
commit41bd8d5dfe27d5c91fe7e4cdba1475a2a0741b1c (patch)
treea671d04c9dabd943aca8e548c148c9b3a6df7a0a /hw
parent76ed409acd772f2c041239345c6dc64cbef0e5b2 (diff)
EDID: Build fix.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/modes/xf86Crtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86Crtc.c b/hw/xfree86/modes/xf86Crtc.c
index 6ceb4261d..21e7dd2cd 100644
--- a/hw/xfree86/modes/xf86Crtc.c
+++ b/hw/xfree86/modes/xf86Crtc.c
@@ -2633,8 +2633,8 @@ xf86OutputSetEDID (xf86OutputPtr output, xf86MonPtr edid_mon)
{
if (edid_mon->ver.version == 1) {
size = 128;
- if (edid->flags & EDID_COMPLETE_RAWDATA)
- size += edid->no_sections * 128;
+ if (edid_mon->flags & EDID_COMPLETE_RAWDATA)
+ size += edid_mon->no_sections * 128;
} else if (edid_mon->ver.version == 2)
size = 256;
}