summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/lv2info.c b/utils/lv2info.c
index 3dc7a09..d20789e 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -118,9 +118,9 @@ print_port(const LilvPlugin* p,
if (lilv_port_is_a(p, port, control_class)) {
if (!isnan(mins[index]))
printf("\t\tMinimum: %f\n", mins[index]);
- if (!isnan(mins[index]))
+ if (!isnan(maxes[index]))
printf("\t\tMaximum: %f\n", maxes[index]);
- if (!isnan(mins[index]))
+ if (!isnan(defaults[index]))
printf("\t\tDefault: %f\n", defaults[index]);
}