Fix port rename problems.

git-svn-id: svn://localhost/ardour2/branches/3.0@4431 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2009-01-22 13:51:36 +00:00
parent 24cafcf8e6
commit 6e04b4381c

View File

@@ -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 {