summaryrefslogtreecommitdiff
path: root/hw/xprint/pcl/PclArc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xprint/pcl/PclArc.c')
-rw-r--r--hw/xprint/pcl/PclArc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xprint/pcl/PclArc.c b/hw/xprint/pcl/PclArc.c
index 0d8289e33..20d3f723d 100644
--- a/hw/xprint/pcl/PclArc.c
+++ b/hw/xprint/pcl/PclArc.c
@@ -85,7 +85,7 @@ PclDoArc(
pCon = PclGetContextFromWindow( (WindowPtr) pDrawable );
pConPriv = (PclContextPrivPtr)
- pCon->devPrivates[PclContextPrivateIndex].ptr;
+ dixLookupPrivate(&pCon->devPrivates, PclContextPrivateKey);
XpGetReproductionArea( pCon, &repro );
/*