From 738d966edd47fe2344d043da658e3f6450ec3942 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 Jul 2016 23:35:51 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gammad.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gammad.c') 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; -- cgit v1.2.3-70-g09d2