summaryrefslogtreecommitdiff
path: root/render/render.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-03-15 15:18:29 +0000
committerJeremy Huddleston <jeremyhu@apple.com>2012-03-27 11:50:43 -0700
commit5926ed85a1e2cb873f9e0950cfe21510b6c94d6f (patch)
tree092f50ad42b3292c6e261ae1097bb75decee6f83 /render/render.c
parentdfecff4279b42a20ee1d186bfe49f5e2e3a53648 (diff)
Indentation: Change '& stuff' to '&stuff'
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 <daniel@fooishbar.org> (cherry picked from commit ab3a815a75ab5695753fa37a98b0ea5293d4cb91)
Diffstat (limited to 'render/render.c')
-rw-r--r--render/render.c12
1 files changed, 6 insertions, 6 deletions
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;
}