From 70b2d6cfeb3bcb7b862a2ae29f6ef7cb84d69486 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 28 Dec 2007 16:39:00 -0500 Subject: [PATCH] Check the gamma value, not its address. --- hw/xfree86/ddc/print_edid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/ddc/print_edid.c b/hw/xfree86/ddc/print_edid.c index a55c46523..d9f18fa9f 100644 --- a/hw/xfree86/ddc/print_edid.c +++ b/hw/xfree86/ddc/print_edid.c @@ -211,7 +211,7 @@ print_display(int scrnIndex, struct disp_features *disp, xf86DrvMsg(scrnIndex, X_INFO, "Indeterminate output size\n"); } - if (!gamma && v->revision >= 1.4) + if (!disp->gamma && v->revision >= 1.4) xf86DrvMsg(scrnIndex, X_INFO, "Gamma defined in extension block\n"); else xf86DrvMsg(scrnIndex, X_INFO, "Gamma: %.2f\n", disp->gamma);