summaryrefslogtreecommitdiff
path: root/libs/ardour/insert.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
commit4c509656223d3ed1f0fab504cb483090d38972f9 (patch)
tree540f207b81f957fa78101d67da3094ff1e1f9456 /libs/ardour/insert.cc
parent5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (diff)
fix compose mess, and a number of 64 bit printf specs
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/insert.cc')
-rw-r--r--libs/ardour/insert.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc
index 80bc0ce862..f405af5069 100644
--- a/libs/ardour/insert.cc
+++ b/libs/ardour/insert.cc
@@ -522,7 +522,7 @@ PluginInsert::plugin_factory (Plugin& other)
#endif
}
- fatal << compose (_("programming error: %1"),
+ fatal << string_compose (_("programming error: %1"),
X_("unknown plugin type in PluginInsert::plugin_factory"))
<< endmsg;
/*NOTREACHED*/
@@ -597,7 +597,7 @@ PluginInsert::state (bool full)
node->add_property ("type", _plugins[0]->state_node_name());
snprintf(buf, sizeof(buf), "%s", _plugins[0]->name());
node->add_property("id", string(buf));
- node->add_property("count", compose("%1", _plugins.size()));
+ node->add_property("count", string_compose("%1", _plugins.size()));
node->add_child_nocopy (_plugins[0]->get_state());
/* add port automation state */
@@ -644,7 +644,7 @@ PluginInsert::set_state(const XMLNode& node)
} else if (prop->value() == X_("vst")) {
type = PluginInfo::VST;
} else {
- error << compose (_("unknown plugin type %1 in plugin insert state"),
+ error << string_compose (_("unknown plugin type %1 in plugin insert state"),
prop->value())
<< endmsg;
return -1;
@@ -658,7 +658,7 @@ PluginInsert::set_state(const XMLNode& node)
Plugin* plugin;
if ((plugin = find_plugin (_session, prop->value(), type)) == 0) {
- error << compose(_("Found a reference to a plugin (\"%1\") that is unknown.\n"
+ error << string_compose(_("Found a reference to a plugin (\"%1\") that is unknown.\n"
"Perhaps it was removed or moved since it was last used."), prop->value())
<< endmsg;
return -1;
@@ -701,7 +701,7 @@ PluginInsert::set_state(const XMLNode& node)
}
if (niter == nlist.end()) {
- error << compose(_("XML node describing a plugin insert is missing the `%1' information"), plugin->state_node_name()) << endmsg;
+ error << string_compose(_("XML node describing a plugin insert is missing the `%1' information"), plugin->state_node_name()) << endmsg;
return -1;
}
@@ -748,7 +748,7 @@ PluginInsert::set_state(const XMLNode& node)
}
if (niter == nlist.end()) {
- warning << compose(_("XML node describing a port automation is missing the `%1' information"), port_automation_node_name) << endmsg;
+ warning << string_compose(_("XML node describing a port automation is missing the `%1' information"), port_automation_node_name) << endmsg;
}