summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/JackDriver.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}