diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-09 19:12:42 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2012-07-09 19:14:50 -0700 |
commit | 6be74a9080e30fc502421cd438cd0c73fb8eb0b0 (patch) | |
tree | c903d84734e1a368779f474839f8b8c049509b6e /Xext | |
parent | 789d64e19a3b3d98b88bc80f677e0c37bfb5c631 (diff) |
Fix more poorly indented/wrapped comments & code
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Tested-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/shm.c | 2 | ||||
-rw-r--r-- | Xext/sync.c | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/Xext/shm.c b/Xext/shm.c index 1cdb4017d..aa3feaeda 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -630,7 +630,7 @@ ProcShmGetImage(ClientPtr client) return rc; VERIFY_SHMPTR(stuff->shmseg, stuff->offset, TRUE, shmdesc, client); if (pDraw->type == DRAWABLE_WINDOW) { - if ( /* check for being viewable */ + if ( /* check for being viewable */ !((WindowPtr) pDraw)->realized || /* check for being on screen */ pDraw->x + stuff->x < 0 || diff --git a/Xext/sync.c b/Xext/sync.c index 532bbf942..6dc4c5e76 100644 --- a/Xext/sync.c +++ b/Xext/sync.c @@ -444,7 +444,8 @@ SyncSendAlarmNotifyEvents(SyncAlarm * pAlarm) ane.counter_value_hi = XSyncValueHigh32(pCounter->value); ane.counter_value_lo = XSyncValueLow32(pCounter->value); } - else { /* XXX what else can we do if there's no counter? */ + else { + /* XXX what else can we do if there's no counter? */ ane.counter_value_hi = ane.counter_value_lo = 0; } @@ -1779,10 +1780,10 @@ ProcSyncQueryAlarm(ClientPtr client) pTrigger = &pAlarm->trigger; rep.counter = (pTrigger->pSync) ? pTrigger->pSync->id : None; -#if 0 /* XXX unclear what to do, depends on whether relative value-types - * are "consumed" immediately and are considered absolute from then - * on. - */ +#if 0 /* XXX unclear what to do, depends on whether relative value-types + * are "consumed" immediately and are considered absolute from then + * on. + */ rep.value_type = pTrigger->value_type; rep.wait_value_hi = XSyncValueHigh32(pTrigger->wait_value); rep.wait_value_lo = XSyncValueLow32(pTrigger->wait_value); |