2009-08-04 21:52:16 +02:00
|
|
|
Index: hw/xfree86/common/xf86VidMode.c
|
2010-03-20 03:42:15 +01:00
|
|
|
================================================================================
|
|
|
|
--- hw/xfree86/common/xf86VidMode.c
|
2009-08-04 21:52:16 +02:00
|
|
|
+++ hw/xfree86/common/xf86VidMode.c
|
2010-03-20 03:42:15 +01:00
|
|
|
@@ -220,6 +220,8 @@
|
2008-11-07 15:54:35 +01:00
|
|
|
|
|
|
|
pScrn = xf86Screens[scrnIndex];
|
|
|
|
pVidMode = VMPTR(pScrn->pScreen);
|
|
|
|
+ if (!pScrn->modes)
|
|
|
|
+ return FALSE;
|
|
|
|
pVidMode->First = pScrn->modes;
|
|
|
|
pVidMode->Next = pVidMode->First->next;
|
|
|
|
|