diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-22 13:51:36 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-22 13:51:36 +0000 |
commit | 6e04b4381ce97da1a1a5d0d4517a5ac4f2404d41 (patch) | |
tree | 3b425bc67ec139e1a71cc77ebf30247b94bd4be4 /libs | |
parent | 24cafcf8e6fe3d4e303125037bd9efc534e61646 (diff) |
Fix port rename problems.
git-svn-id: svn://localhost/ardour2/branches/3.0@4431 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/port.cc b/libs/ardour/port.cc index fc04201969..b200888508 100644 --- a/libs/ardour/port.cc +++ b/libs/ardour/port.cc @@ -375,7 +375,7 @@ ARDOUR::Port::set_name (std::string const & n) if (_jack_port) { r = jack_port_set_name (_jack_port, n.c_str()); - if (r) { + if (r == 0) { _name = n; } } else { |