summaryrefslogtreecommitdiff
path: root/dix/swapreq.c
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 /dix/swapreq.c
parent58b1f739d73b03ff7952ca986ed8746a7307fffe (diff)
downloadxserver-ab3a815a75ab5695753fa37a98b0ea5293d4cb91.tar.gz
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 'dix/swapreq.c')
-rw-r--r--dix/swapreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/swapreq.c b/dix/swapreq.c
index d0585180e..a896b4b29 100644
--- a/dix/swapreq.c
+++ b/dix/swapreq.c
@@ -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));