summaryrefslogtreecommitdiff
path: root/hw/xfree86/doc/ddxDesign.xml
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/doc/ddxDesign.xml')
-rw-r--r--hw/xfree86/doc/ddxDesign.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml
index ca5efc9be..1b0dbc41e 100644
--- a/hw/xfree86/doc/ddxDesign.xml
+++ b/hw/xfree86/doc/ddxDesign.xml
@@ -9061,7 +9061,7 @@ static Bool
ZZZScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
{
/* Get the ScrnInfoRec */
- pScrn = xf86Screens[pScreen->myNum];
+ pScrn = xf86ScreenToScrn(pScreen);
/*
* If using the vgahw module, its data structures and related