devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e1e8859aa0d73261de6fa003bfe45959be589818

commit e1e8859aa0d73261de6fa003bfe45959be589818
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Jul 1 10:58:44 2014 -0400

    ecore-drm: Fix formatting from a7428edeb41efe67b0a
    
    Fix horrible formatting before it gets too far...
    Bad Stefan, no cookie ;)
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_drm/ecore_drm_output.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_drm/ecore_drm_output.c 
b/src/lib/ecore_drm/ecore_drm_output.c
index 8f10614..bf1cca6 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -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;
      }
 

-- 


Reply via email to