Check the gamma value, not its address.

This commit is contained in:
Adam Jackson 2007-12-28 16:39:00 -05:00
parent 592d814ee0
commit 70b2d6cfeb

View File

@ -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);