summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-03-15 15:18:29 +0000
committerKeith Packard <keithp@keithp.com>2012-03-21 14:02:30 -0700
commitab3a815a75ab5695753fa37a98b0ea5293d4cb91 (patch)
treea8fd1cf44108245b42ba409944be962ac060098d /render
parent58b1f739d73b03ff7952ca986ed8746a7307fffe (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>
Diffstat (limited to 'render')
-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;
}