diff options
Diffstat (limited to 'src/mga_hwcurs.c')
-rw-r--r-- | src/mga_hwcurs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_hwcurs.c b/src/mga_hwcurs.c index 937f979..5e43f21 100644 --- a/src/mga_hwcurs.c +++ b/src/mga_hwcurs.c @@ -13,7 +13,7 @@ Bool MGAHWCursorInit(ScreenPtr pScreen) { - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); MGAPtr pMga = MGAPTR(pScrn); MGARamdacPtr MGAdac = &pMga->Dac; xf86CursorInfoPtr infoPtr; |