mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
String object for Greek locale testing should have been Glib::ustring, rather than std::string
(see my previous commit)
This commit is contained in:
parent
903f1d7853
commit
2044c12b7b
1 changed files with 5 additions and 2 deletions
|
|
@ -252,10 +252,13 @@ string pango_modules_file;
|
||||||
pango_modules_file += "\\";
|
pango_modules_file += "\\";
|
||||||
pango_modules_file += PROGRAM_NAME;
|
pango_modules_file += PROGRAM_NAME;
|
||||||
pango_modules_file += PANGO_CONF_LOCATION;
|
pango_modules_file += PANGO_CONF_LOCATION;
|
||||||
/* JE - handy for non-English locale testing (Greek, in this case)
|
#if 0
|
||||||
pango_modules_file = Glib::locale_to_utf8("C:\\Program Files\\Mixbus3\\etc\\ÄÇÌÇÔÑÇÓ\\pango.modules");
|
// JE - handy for non-English locale testing (Greek, in this case)
|
||||||
|
Glib::ustring pango_modules_path = Glib::locale_to_utf8("C:\\Program Files\\Mixbus3\\etc\\ÄÇÌÇÔÑÇÓ\\pango.modules");
|
||||||
/**/
|
/**/
|
||||||
|
#else
|
||||||
Glib::ustring pango_modules_path = pango_modules_file;
|
Glib::ustring pango_modules_path = pango_modules_file;
|
||||||
|
#endif
|
||||||
pango_modules_path.resize (pango_modules_path.size()-14); // Remove "/pango.modules" from the end
|
pango_modules_path.resize (pango_modules_path.size()-14); // Remove "/pango.modules" from the end
|
||||||
#else
|
#else
|
||||||
if (PBD::find_file_in_search_path (ARDOUR::ardour_config_search_path(), "pango.modules", pango_modules_file)) {
|
if (PBD::find_file_in_search_path (ARDOUR::ardour_config_search_path(), "pango.modules", pango_modules_file)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue