From dbca69c8a4f3e2d1ccb4f89152213b2861b33af6 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 2 Nov 2008 15:26:35 +0000 Subject: xserver 1.5.2. tested by ckuethe@, oga@, and others. --- xserver/hw/xprint/pcl/PclText.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xserver/hw/xprint/pcl/PclText.c') diff --git a/xserver/hw/xprint/pcl/PclText.c b/xserver/hw/xprint/pcl/PclText.c index 246c0195b..324de3014 100644 --- a/xserver/hw/xprint/pcl/PclText.c +++ b/xserver/hw/xprint/pcl/PclText.c @@ -123,7 +123,7 @@ char font_type; pCon = PclGetContextFromWindow( (WindowPtr)pDrawable ); pConPriv = (PclContextPrivPtr) - pCon->devPrivates[PclContextPrivateIndex].ptr; + dixLookupPrivate(&pCon->devPrivates, PclContextPrivateKey); pSoftFontInfo = pConPriv->pSoftFontInfo; font_type = isInternal(pGC->font); if ( font_type == DOWNLOAD_FONT ) { @@ -293,7 +293,7 @@ char font_type; pCon = PclGetContextFromWindow( (WindowPtr)pDrawable ); pConPriv = (PclContextPrivPtr) - pCon->devPrivates[PclContextPrivateIndex].ptr; + dixLookupPrivate(&pCon->devPrivates, PclContextPrivateKey); pSoftFontInfo = pConPriv->pSoftFontInfo; font_type = isInternal(pGC->font); -- cgit v1.2.3