Fix formatting of address operators
The formatter confused address operators preceded by casts with bitwise-and expressions, placing spaces on either side of both. That syntax isn't used by ordinary address operators, however, so fix them for consistency. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -754,7 +754,7 @@ ProcXF86DRICreateContext(register ClientPtr client)
|
||||
if (!ephyrDRICreateContext(stuff->screen,
|
||||
stuff->visual,
|
||||
&context_id,
|
||||
(drm_context_t *) & rep.hHWContext)) {
|
||||
(drm_context_t *) &rep.hHWContext)) {
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
@@ -964,7 +964,7 @@ ProcXF86DRICreateDrawable(ClientPtr client)
|
||||
|
||||
if (!ephyrDRICreateDrawable(stuff->screen,
|
||||
remote_win,
|
||||
(drm_drawable_t *) & rep.hHWDrawable)) {
|
||||
(drm_drawable_t *) &rep.hHWDrawable)) {
|
||||
EPHYR_LOG_ERROR("failed to create dri drawable\n");
|
||||
return BadValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user