mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 13:16:27 +01:00
Use PBD::to_string() in LV2Plugin instead of string_compose for state_dir
To prevent issues with numeric grouping with formatting used by string_compose template/stringstream when global C++ locale != "C"
This commit is contained in:
parent
f2e32efc92
commit
19f9158dc6
1 changed files with 1 additions and 1 deletions
|
|
@ -1264,7 +1264,7 @@ LV2Plugin::file_dir() const
|
||||||
const std::string
|
const std::string
|
||||||
LV2Plugin::state_dir(unsigned num) const
|
LV2Plugin::state_dir(unsigned num) const
|
||||||
{
|
{
|
||||||
return Glib::build_filename(plugin_dir(), string_compose("state%1", num));
|
return Glib::build_filename(plugin_dir(), string("state") + PBD::to_string (num));
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Implementation of state:makePath for files created at instantiation time.
|
/** Implementation of state:makePath for files created at instantiation time.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue