From 67f194816923b7ebab41a2bda09fa4e0d85532f7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 6 Oct 2015 23:33:24 +0000 Subject: Fix compilation with Jack metadata git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5749 a436a847-0d15-0410-975c-d299462d15a1 --- src/JackDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/JackDriver.cpp b/src/JackDriver.cpp index 2ec8632..a949c7f 100644 --- a/src/JackDriver.cpp +++ b/src/JackDriver.cpp @@ -207,8 +207,8 @@ JackDriver::create_port(PatchageModule& parent, jack_port_t* port, PortID id) #ifdef HAVE_JACK_METADATA const jack_uuid_t uuid = jack_port_uuid(port); - const std::string label = get_property(uuid, JACK_METADATA_PRETTY_NAME); const std::string order_str = get_property(uuid, JACKEY_ORDER); + label = get_property(uuid, JACK_METADATA_PRETTY_NAME); if (!order_str.empty()) { order = atoi(order_str.c_str()); } -- cgit v1.2.1