From 5926ed85a1e2cb873f9e0950cfe21510b6c94d6f 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 (cherry picked from commit ab3a815a75ab5695753fa37a98b0ea5293d4cb91) --- Xext/panoramiXprocs.c | 12 ++++++------ Xext/sync.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'Xext') diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index 7fb578b71..12d6163bb 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -1349,7 +1349,7 @@ PanoramiXPolyPoint(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - xPoint *pnts = (xPoint *) & stuff[1]; + xPoint *pnts = (xPoint *) &stuff[1]; int i = (stuff->coordMode == CoordModePrevious) ? 1 : npoint; @@ -1414,7 +1414,7 @@ PanoramiXPolyLine(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - xPoint *pnts = (xPoint *) & stuff[1]; + xPoint *pnts = (xPoint *) &stuff[1]; int i = (stuff->coordMode == CoordModePrevious) ? 1 : npoint; @@ -1483,7 +1483,7 @@ PanoramiXPolySegment(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - xSegment *segs = (xSegment *) & stuff[1]; + xSegment *segs = (xSegment *) &stuff[1]; for (i = nsegs; i--; segs++) { segs->x1 -= x_off; @@ -1618,7 +1618,7 @@ PanoramiXPolyArc(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - xArc *arcs = (xArc *) & stuff[1]; + xArc *arcs = (xArc *) &stuff[1]; for (i = narcs; i--; arcs++) { arcs->x -= x_off; @@ -1681,7 +1681,7 @@ PanoramiXFillPoly(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - DDXPointPtr pnts = (DDXPointPtr) & stuff[1]; + DDXPointPtr pnts = (DDXPointPtr) &stuff[1]; int i = (stuff->coordMode == CoordModePrevious) ? 1 : count; while (i--) { @@ -1816,7 +1816,7 @@ PanoramiXPolyFillArc(ClientPtr client) int y_off = screenInfo.screens[j]->y; if (x_off || y_off) { - xArc *arcs = (xArc *) & stuff[1]; + xArc *arcs = (xArc *) &stuff[1]; for (i = narcs; i--; arcs++) { arcs->x -= x_off; diff --git a/Xext/sync.c b/Xext/sync.c index d5d19d425..37c59c2be 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -1557,7 +1557,7 @@ ProcSyncAwait(ClientPtr client) /* don't need to do any more memory allocation for this request! */ - pProtocolWaitConds = (xSyncWaitCondition *) & stuff[1]; + pProtocolWaitConds = (xSyncWaitCondition *) &stuff[1]; pAwait = &(pAwaitUnion + 1)->await; /* skip over header */ for (i = 0; i < items; i++, pProtocolWaitConds++, pAwait++) { -- cgit v1.2.3