More tinkering with State<>. Use some StateDiffCommands instead of
[ardour.git] / libs / ardour / diskstream.cc
index a4f8c22e285d8f0558cfbcced4bd0155bf53f800..264dd3e79f044479243397ae559d1e0e8c48f0d9 100644 (file)
@@ -396,7 +396,7 @@ Diskstream::playlist_deleted (boost::weak_ptr<Playlist> wpl)
 bool
 Diskstream::set_name (const string& str)
 {
-       if (str != _name) {
+       if (_name != str) {
                assert(playlist());
                playlist()->set_name (str);