diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2005-10-06 19:10:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2005-10-06 19:10:57 +0000 |
commit | 4c509656223d3ed1f0fab504cb483090d38972f9 (patch) | |
tree | 540f207b81f957fa78101d67da3094ff1e1f9456 /libs/ardour/plugin.cc | |
parent | 5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (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/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index dc85e1d721..f5753fd182 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -326,24 +326,24 @@ Plugin::save_preset (string name, string domain) return false; } - string source(compose("file:%1/.%2/rdf/ardour-presets.n3", envvar, domain)); + string source(string_compose("file:%1/.%2/rdf/ardour-presets.n3", envvar, domain)); free(lrdf_add_preset(source.c_str(), name.c_str(), unique_id(), &defaults)); - string path = compose("%1/.%2", envvar, domain); + string path = string_compose("%1/.%2", envvar, domain); if (mkdir(path.c_str(), 0775) && errno != EEXIST) { - warning << compose(_("Could not create %1. Preset not saved. (%2)"), path, strerror(errno)) << endmsg; + warning << string_compose(_("Could not create %1. Preset not saved. (%2)"), path, strerror(errno)) << endmsg; return false; } path += "/rdf"; if (mkdir(path.c_str(), 0775) && errno != EEXIST) { - warning << compose(_("Could not create %1. Preset not saved. (%2)"), path, strerror(errno)) << endmsg; + warning << string_compose(_("Could not create %1. Preset not saved. (%2)"), path, strerror(errno)) << endmsg; return false; } if (lrdf_export_by_source(source.c_str(), source.substr(5).c_str())) { - warning << compose(_("Error saving presets file %1."), source) << endmsg; + warning << string_compose(_("Error saving presets file %1."), source) << endmsg; return false; } |