diff options
-rw-r--r-- | src/i830_modes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_modes.c b/src/i830_modes.c index 90bd0931..bf480a6a 100644 --- a/src/i830_modes.c +++ b/src/i830_modes.c @@ -493,7 +493,7 @@ i830GetLVDSModes(ScrnInfoPtr pScrn, char **ppModeName) /* 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; } |