diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-03-21 16:00:44 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-03-21 16:02:46 +0000 |
commit | 2044c12b7b8ced90073c494b4af6f049e6c6020b (patch) | |
tree | a8feb6b32a57560853bf3db2524125dca0a4d67b /gtk2_ardour | |
parent | 903f1d7853cde897687a3f40a754add8defd6c52 (diff) |
String object for Greek locale testing should have been Glib::ustring, rather than std::string
(see my previous commit)
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/bundle_env_msvc.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/bundle_env_msvc.cc b/gtk2_ardour/bundle_env_msvc.cc index 8a7fcc0d7d..d2c85b7935 100644 --- a/gtk2_ardour/bundle_env_msvc.cc +++ b/gtk2_ardour/bundle_env_msvc.cc @@ -252,10 +252,13 @@ string pango_modules_file; pango_modules_file += "\\"; pango_modules_file += PROGRAM_NAME; pango_modules_file += PANGO_CONF_LOCATION; -/* JE - handy for non-English locale testing (Greek, in this case) -pango_modules_file = Glib::locale_to_utf8("C:\\Program Files\\Mixbus3\\etc\\ΔΗΜΗΤΡΗΣ\\pango.modules"); +#if 0 +// 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; +#endif pango_modules_path.resize (pango_modules_path.size()-14); // Remove "/pango.modules" from the end #else if (PBD::find_file_in_search_path (ARDOUR::ardour_config_search_path(), "pango.modules", pango_modules_file)) { |