ecore-drm: Fix formatting from a7428edeb41efe67b0a
authorChris Michael <cp.michael@samsung.com>
Tue, 1 Jul 2014 14:58:44 +0000 (10:58 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 1 Jul 2014 14:59:31 +0000 (10:59 -0400)
Fix horrible formatting before it gets too far...
Bad Stefan, no cookie ;)

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/ecore_drm/ecore_drm_output.c

index 8f10614..bf1cca6 100644 (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;
      }