fix bad fix to error string
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Jan 2013 15:09:13 +0000 (15:09 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 9 Jan 2013 15:09:13 +0000 (15:09 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13815 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_command.cc

index 2fdcfb17a2077b749a3b55d35642b4b3ab4be256..f2909ea10dce3f4927b68d7ad23c11ea9e91a6d4 100644 (file)
@@ -84,8 +84,8 @@ Session::memento_command_factory(XMLNode *n)
     }
 
     if (!child) {
-       error << _("Tried to reconstitute a MementoCommand with no contents, failing. id=%1") << id.to_s() << endmsg;
-       return 0;
+           error << string_compose (_("Tried to reconstitute a MementoCommand with no contents, failing. id=%1"), id.to_s()) << endmsg;
+           return 0;
     }
 
     /* create command */