mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix typo after localedir change
This commit is contained in:
parent
f8650acb47
commit
ebf3c6adb9
1 changed files with 2 additions and 2 deletions
|
|
@ -76,7 +76,7 @@ fixup_bundle_environment (int, char* [], string & localedir)
|
||||||
|
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
if (!ARDOUR::translations_are_enabled ()) {
|
if (!ARDOUR::translations_are_enabled ()) {
|
||||||
(*localedir) = "/this/cannot/exist";
|
localedir = "/this/cannot/exist";
|
||||||
} else {
|
} else {
|
||||||
/* force localedir into the bundle */
|
/* force localedir into the bundle */
|
||||||
|
|
||||||
|
|
@ -84,7 +84,7 @@ fixup_bundle_environment (int, char* [], string & localedir)
|
||||||
lpath.push_back (bundle_dir);
|
lpath.push_back (bundle_dir);
|
||||||
lpath.push_back ("Resources");
|
lpath.push_back ("Resources");
|
||||||
lpath.push_back ("locale");
|
lpath.push_back ("locale");
|
||||||
localedir = strdup (Glib::build_filename (lpath).c_str());
|
localedir = Glib::build_filename (lpath).c_str();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue