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>
This commit is contained in:
Daniel Stone
2012-03-15 15:18:29 +00:00
committed by Keith Packard
parent 58b1f739d7
commit ab3a815a75
17 changed files with 56 additions and 56 deletions

View File

@@ -807,7 +807,7 @@ SProcStoreColors(ClientPtr client)
swaps(&stuff->length);
REQUEST_AT_LEAST_SIZE(xStoreColorsReq);
swapl(&stuff->cmap);
pItem = (xColorItem *) & stuff[1];
pItem = (xColorItem *) &stuff[1];
for (count = LengthRestB(stuff) / sizeof(xColorItem); --count >= 0;)
SwapColorItem(pItem++);
return ((*ProcVector[X_StoreColors]) (client));