[PATCH weston 1/2] libweston: fix indentation

Tomohito Esaki etom at igel.co.jp
Tue Jun 5 01:37:05 UTC 2018


Signed-off-by: Tomohito Esaki <etom at igel.co.jp>
---
 libweston/compositor.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/libweston/compositor.c b/libweston/compositor.c
index 101096c..d11a655 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -2546,13 +2546,13 @@ output_repaint_timer_handler(void *data)
 	}
 
 	if (ret == 0) {
-	    if (compositor->backend->repaint_flush)
-		    compositor->backend->repaint_flush(compositor,
-						       repaint_data);
+		if (compositor->backend->repaint_flush)
+			compositor->backend->repaint_flush(compositor,
+							   repaint_data);
 	} else {
-	    if (compositor->backend->repaint_cancel)
-		    compositor->backend->repaint_cancel(compositor,
-						        repaint_data);
+		if (compositor->backend->repaint_cancel)
+			compositor->backend->repaint_cancel(compositor,
+							    repaint_data);
 	}
 
 	output_repaint_timer_arm(compositor);
-- 
2.7.4



More information about the wayland-devel mailing list