diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 15:26:48 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:26:13 -0500 |
commit | 15b3b0e9f8823752f80c7e597a70749813e61c79 (patch) | |
tree | 3f324c6e2a455be8b929456dadbf06520889d435 /src/gui/Port.cpp | |
parent | d6a9571641bcb34acb3521feb08eea33195fd9ca (diff) | |
download | ingen-15b3b0e9f8823752f80c7e597a70749813e61c79.tar.gz ingen-15b3b0e9f8823752f80c7e597a70749813e61c79.tar.bz2 ingen-15b3b0e9f8823752f80c7e597a70749813e61c79.zip |
Always use braces
Diffstat (limited to 'src/gui/Port.cpp')
-rw-r--r-- | src/gui/Port.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 28c3c6af..ebeb5e83 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -126,8 +126,9 @@ Port::port_label(App& app, SPtr<const PortModel> pm) } else { const SPtr<const BlockModel> parent( dynamic_ptr_cast<const BlockModel>(pm->parent())); - if (parent && parent->plugin_model()) + if (parent && parent->plugin_model()) { label = parent->plugin_model()->port_human_name(pm->index()); + } } } else { label = pm->path().symbol(); |