ecore-drm: Fix formatting from a7428edeb4

Fix horrible formatting before it gets too far...
Bad Stefan, no cookie ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-07-01 10:58:44 -04:00
parent a7428edeb4
commit e1e8859aa0
1 changed files with 2 additions and 2 deletions

View File

@ -216,12 +216,12 @@ _ecore_drm_output_crtc_find(Ecore_Drm_Device *dev, drmModeRes *res, drmModeConne
else
enc = NULL;
if (enc && enc->crtc_id)
if ((enc) && (enc->crtc_id))
{
crtc = enc->crtc_id;
drmModeFreeEncoder(enc);
/* Check is this CRTC is already allocated */
if (!(dev->crtc_allocator & (1 << crtc)))
if (!(dev->crtc_allocator & (1 << crtc)))
return crtc;
}