From e1e8859aa0d73261de6fa003bfe45959be589818 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 1 Jul 2014 10:58:44 -0400 Subject: [PATCH] ecore-drm: Fix formatting from a7428edeb41efe67b0a Fix horrible formatting before it gets too far... Bad Stefan, no cookie ;) Signed-off-by: Chris Michael --- 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; } -- 2.7.4