diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-01 16:19:36 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-01 16:19:36 +0200 |
commit | 68b839d61be1aee51ebe330ef9a1f581906159d3 (patch) | |
tree | c6eba86b893d3a5125f9d44d0ab0959b7b1dfa12 /src/lib/libgamma-facade.c | |
parent | doc (diff) | |
download | libgamma-68b839d61be1aee51ebe330ef9a1f581906159d3.tar.gz libgamma-68b839d61be1aee51ebe330ef9a1f581906159d3.tar.bz2 libgamma-68b839d61be1aee51ebe330ef9a1f581906159d3.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/libgamma-facade.c')
-rw-r--r-- | src/lib/libgamma-facade.c | 15 |
1 files changed, 10 insertions, 5 deletions
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; } } |