aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
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++)
{