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

Adam Jackson ajax at kemper.freedesktop.org
Fri Jul 14 00:20:23 EEST 2006


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

New commits:
diff-tree 22843830ebdd14247aa76d19f89494a56e2ac887 (from 05bcbadd130524694e11e372d54cb419cea566cc)
Author: Adam Jackson <ajax at benzedrine.nwnk.net>
Date:   Thu Jul 13 17:20:17 2006 -0400

    Fix a thinko; would only inject the FP native mode if a mode list was already
    found, which is never the case when there's no xorg.conf.

diff --git a/src/i830_modes.c b/src/i830_modes.c
index 90bd093..bf480a6 100644
--- a/src/i830_modes.c
+++ b/src/i830_modes.c
@@ -493,7 +493,7 @@ i830GetLVDSModes(ScrnInfoPtr pScrn, char
    /* If the user hasn't specified modes, add the native mode */
    if (!count) {
       new = i830FPNativeMode(pScrn);
-      if (first) {
+      if (new) {
 	 I830xf86SortModes(new, &first, &last);
 	 count = 1;
       }



More information about the xorg-commit mailing list