diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-03-15 15:18:29 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-03-21 14:02:30 -0700 |
commit | ab3a815a75ab5695753fa37a98b0ea5293d4cb91 (patch) | |
tree | a8fd1cf44108245b42ba409944be962ac060098d /xkb | |
parent | 58b1f739d73b03ff7952ca986ed8746a7307fffe (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 'xkb')
-rw-r--r-- | xkb/xkb.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3230,7 +3230,7 @@ ProcXkbSetIndicatorMap(ClientPtr client) return BadLength; } - from = (xkbIndicatorMapWireDesc *) & stuff[1]; + from = (xkbIndicatorMapWireDesc *) &stuff[1]; for (i = 0, bit = 1; i < XkbNumIndicators; i++, bit <<= 1) { if (stuff->which & bit) { if (client->swapped) { @@ -3243,7 +3243,7 @@ ProcXkbSetIndicatorMap(ClientPtr client) } } - from = (xkbIndicatorMapWireDesc *) & stuff[1]; + from = (xkbIndicatorMapWireDesc *) &stuff[1]; rc = _XkbSetIndicatorMap(client, dev, stuff->which, from); if (rc != Success) return rc; |