From 1f033e22d5a8e84b2cbcbf150eea4c6cccdc195a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 28 Aug 2014 16:52:21 +0200 Subject: m fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/test/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/test.c b/src/test/test.c index 8bb6183..51a4379 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -306,8 +306,8 @@ int main(void) else { n = ramps.red_size; - n = n < ramps.green_size ? n : ramps.green_size; - n = n < ramps.blue_size ? n : ramps.blue_size; + n = n > ramps.green_size ? n : ramps.green_size; + n = n > ramps.blue_size ? n : ramps.blue_size; printf("Current gamma ramps:\n"); for (i = 0; i < n; i++) { -- cgit v1.2.3-70-g09d2