summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-18 08:42:37 +0000
committerDavid Robillard <d@drobilla.net>2011-03-18 08:42:37 +0000
commit54cb9b1d9cf67141ef6d0e296a42e39d84b8fce1 (patch)
tree615c872e055601820955b82f135ebe2e99474f61
parentbfdd43dc77ef03ec8363eb21ea333e1a8bfef7b6 (diff)
downloadlilv-54cb9b1d9cf67141ef6d0e296a42e39d84b8fce1.tar.gz
lilv-54cb9b1d9cf67141ef6d0e296a42e39d84b8fce1.tar.bz2
lilv-54cb9b1d9cf67141ef6d0e296a42e39d84b8fce1.zip
Fix broken data file / features output.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3117 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--utils/lv2_inspect.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index a3245a3..3c68354 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -226,10 +226,9 @@ print_plugin(SLV2Plugin p)
if (!first) {
printf("\n\t ");
}
- printf("%s", slv2_value_as_uri(slv2_values_get(data_uris, i)));
+ printf("%s\n", slv2_value_as_uri(slv2_values_get(data_uris, i)));
first = false;
}
- printf("\n");
/* Required Features */
@@ -237,7 +236,7 @@ print_plugin(SLV2Plugin p)
if (features)
printf("\tRequired Features: ");
first = true;
- SLV2_FOREACH(i, data_uris) {
+ SLV2_FOREACH(i, features) {
if (!first) {
printf("\n\t ");
}