summaryrefslogtreecommitdiffstats
path: root/utils/lv2_inspect.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-01-23 14:32:58 +0000
committerDavid Robillard <d@drobilla.net>2008-01-23 14:32:58 +0000
commiteec645b6a811150ae716b7eb591149ad93294481 (patch)
tree84dfd2a0051f6244438f6f15031e927c4ec65d32 /utils/lv2_inspect.c
parent0bf92c1f25a854566212e42deafe72ecd2a5f1a1 (diff)
downloadlilv-eec645b6a811150ae716b7eb591149ad93294481.tar.gz
lilv-eec645b6a811150ae716b7eb591149ad93294481.tar.bz2
lilv-eec645b6a811150ae716b7eb591149ad93294481.zip
Fix range printing for control ports in lv2_inspect.
Kludge around numeric bugs in locales with ',' for a decimal point. git-svn-id: http://svn.drobilla.net/lad/slv2@1101 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/lv2_inspect.c')
-rw-r--r--utils/lv2_inspect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 585678f..7b31e01 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -203,6 +203,9 @@ main(int argc, char** argv)
SLV2World world = slv2_world_new();
slv2_world_load_all(world);
+ event_class = slv2_value_new_uri(world, SLV2_PORT_CLASS_EVENT);
+ control_class = slv2_value_new_uri(world, SLV2_PORT_CLASS_CONTROL);
+
if (argc != 2) {
print_usage();
return -1;