xf86-video-intel: Branch 'modesetting-keithp' - src/i830_randr.c

Keith Packard keithp at kemper.freedesktop.org
Thu Nov 16 22:10:30 EET 2006


 src/i830_randr.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree 8967e01774b279de79a2d436cbad92da508f1a59 (from beb89163d73376e70870e6e2a6b19863f3a058b1)
Author: Keith Packard <keithp at neko.keithp.com>
Date:   Mon Nov 6 10:16:34 2006 -0800

    Typo when adjusting physical size during randr startup

diff --git a/src/i830_randr.c b/src/i830_randr.c
index 84727a6..0039b54 100644
--- a/src/i830_randr.c
+++ b/src/i830_randr.c
@@ -809,7 +809,7 @@ I830RandRCreateScreenResources12 (Screen
 	mmHeight = pScreen->mmHeight;
 	if (mode->HDisplay != pScreen->width)
 	    mmWidth = mmWidth * mode->HDisplay / pScreen->width;
-	if (mode->VDisplay == pScreen->height)
+	if (mode->VDisplay != pScreen->height)
 	    mmHeight = mmHeight * mode->VDisplay / pScreen->height;
 	xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
 		   "Setting screen physical size to %d x %d\n",



More information about the xorg-commit mailing list