aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-28 16:52:21 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-28 16:52:21 +0200
commit1f033e22d5a8e84b2cbcbf150eea4c6cccdc195a (patch)
treef7848bc6c0858aebc6e616bc05e398ceb933446b /src/test/test.c
parentm fix (diff)
downloadlibgamma-1f033e22d5a8e84b2cbcbf150eea4c6cccdc195a.tar.gz
libgamma-1f033e22d5a8e84b2cbcbf150eea4c6cccdc195a.tar.bz2
libgamma-1f033e22d5a8e84b2cbcbf150eea4c6cccdc195a.tar.xz
m fix0.2
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/test/test.c4
1 files changed, 2 insertions, 2 deletions
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++)
{