From 68b839d61be1aee51ebe330ef9a1f581906159d3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 1 Jun 2014 16:19:36 +0200 Subject: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/libgamma-facade.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/lib/libgamma-facade.c') diff --git a/src/lib/libgamma-facade.c b/src/lib/libgamma-facade.c index 8d64514..65f0d38 100644 --- a/src/lib/libgamma-facade.c +++ b/src/lib/libgamma-facade.c @@ -122,12 +122,14 @@ static int libgamma_list_method_test(int method, int operation) switch (operation) { - case 0: /* Methods that the environment suggests will work, excluding fake. */ + case 0: + /* Methods that the environment suggests will work, excluding fake. */ if (caps.fake) return 0; /* Fall through. */ - case 1: /* Methods that the environment suggests will work, including fake. */ + case 1: + /* Methods that the environment suggests will work, including fake. */ if (caps.real == 0) return 0; #ifdef HAVE_LIBGAMMA_METHOD_LINUX_DRM @@ -142,13 +144,16 @@ static int libgamma_list_method_test(int method, int operation) #endif return caps.default_site_known; - case 2: /* All real non-fake methods. */ + case 2: + /* All real non-fake methods. */ return caps.real && (caps.fake == 0); - case 3: /* All real methods. */ + case 3: + /* All real methods. */ return caps.real; - default: /* All methods. */ + default: + /* All methods. */ return 1; } } -- cgit v1.2.3-70-g09d2