From: Chris Michael Date: Tue, 1 Jul 2014 14:58:44 +0000 (-0400) Subject: ecore-drm: Fix formatting from a7428edeb41efe67b0a X-Git-Tag: upstream/1.10.0+1149+ga3a15b1~422 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1e8859aa0d73261de6fa003bfe45959be589818;p=platform%2Fupstream%2Fefl.git ecore-drm: Fix formatting from a7428edeb41efe67b0a Fix horrible formatting before it gets too far... Bad Stefan, no cookie ;) Signed-off-by: Chris Michael --- 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; }