aboutsummaryrefslogtreecommitdiffstats
path: root/src/gammad.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-10 23:35:51 +0200
committerMattias Andrée <maandree@kth.se>2016-07-10 23:35:51 +0200
commit738d966edd47fe2344d043da658e3f6450ec3942 (patch)
tree331d3f77f747a6fdd6822cc9722db3e7fa770e8e /src/gammad.c
parentAdd command line parser (diff)
downloadcoopgammad-738d966edd47fe2344d043da658e3f6450ec3942.tar.gz
coopgammad-738d966edd47fe2344d043da658e3f6450ec3942.tar.bz2
coopgammad-738d966edd47fe2344d043da658e3f6450ec3942.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/gammad.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gammad.c b/src/gammad.c
index 97f2d56..1a01c69 100644
--- a/src/gammad.c
+++ b/src/gammad.c
@@ -250,10 +250,8 @@ int main(int argc, char** argv)
outputs[i].green_size = info.gamma_size_error ? 0 : info.green_gamma_size;
outputs[i].blue_size = info.gamma_size_error ? 0 : info.blue_gamma_size;
outputs[i].supported = info.gamma_support_error ? 0 : info.gamma_support;
- if (outputs[i].depth == 0 ||
- outputs[i].red_size == 0 ||
- outputs[i].green_size == 0 ||
- outputs[i].blue_size == 0)
+ if (outputs[i].depth == 0 || outputs[i].red_size == 0 ||
+ outputs[i].green_size == 0 || outputs[i].blue_size == 0)
outputs[i].supported = 0;
outputs[i].name = get_crtc_name(&info, crtcs + i);
saved_errno = errno;