From ab3a815a75ab5695753fa37a98b0ea5293d4cb91 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 15 Mar 2012 15:18:29 +0000 Subject: Indentation: Change '& stuff' to '&stuff' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the typedef wasn't perfect, indent would get confused and change: foo = (SomePointlessTypedef *) &stuff[1]; to: foo = (SomePointlessTypedef *) & stuff[1]; Fix this up with a really naïve sed script, plus some hand-editing to change some false positives in XKB back. Signed-off-by: Daniel Stone --- render/render.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'render') diff --git a/render/render.c b/render/render.c index a4f58a024..344ca75e2 100644 --- a/render/render.c +++ b/render/render.c @@ -757,7 +757,7 @@ ProcRenderTrapezoids(ClientPtr client) if (ntraps) CompositeTrapezoids(stuff->op, pSrc, pDst, pFormat, stuff->xSrc, stuff->ySrc, - ntraps, (xTrapezoid *) & stuff[1]); + ntraps, (xTrapezoid *) &stuff[1]); return Success; } @@ -796,7 +796,7 @@ ProcRenderTriangles(ClientPtr client) if (ntris) CompositeTriangles(stuff->op, pSrc, pDst, pFormat, stuff->xSrc, stuff->ySrc, - ntris, (xTriangle *) & stuff[1]); + ntris, (xTriangle *) &stuff[1]); return Success; } @@ -835,7 +835,7 @@ ProcRenderTriStrip(ClientPtr client) if (npoints >= 3) CompositeTriStrip(stuff->op, pSrc, pDst, pFormat, stuff->xSrc, stuff->ySrc, - npoints, (xPointFixed *) & stuff[1]); + npoints, (xPointFixed *) &stuff[1]); return Success; } @@ -874,7 +874,7 @@ ProcRenderTriFan(ClientPtr client) if (npoints >= 3) CompositeTriFan(stuff->op, pSrc, pDst, pFormat, stuff->xSrc, stuff->ySrc, - npoints, (xPointFixed *) & stuff[1]); + npoints, (xPointFixed *) &stuff[1]); return Success; } @@ -1652,7 +1652,7 @@ ProcRenderSetPictureTransform(ClientPtr client) REQUEST_SIZE_MATCH(xRenderSetPictureTransformReq); VERIFY_PICTURE(pPicture, stuff->picture, client, DixSetAttrAccess); - return SetPictureTransform(pPicture, (PictTransform *) & stuff->transform); + return SetPictureTransform(pPicture, (PictTransform *) &stuff->transform); } static int @@ -1836,7 +1836,7 @@ ProcRenderAddTraps(ClientPtr client) ntraps /= sizeof(xTrap); if (ntraps) AddTraps(pPicture, - stuff->xOff, stuff->yOff, ntraps, (xTrap *) & stuff[1]); + stuff->xOff, stuff->yOff, ntraps, (xTrap *) &stuff[1]); return Success; } -- cgit v1.2.3