Ensure that 'fixup_bundle_environment()' returns a suitable localedir (msvc)

This commit is contained in:
John Emmas 2014-04-15 18:53:24 +01:00
parent dc4eae5c37
commit 2b10af45ab
1 changed files with 3 additions and 0 deletions

View File

@ -437,6 +437,9 @@ fixup_bundle_environment (int argc, char* argv[], const char** localedir)
path = windows_search_path().to_string();
path += "\\locale";
Glib::setenv ("GTK_LOCALEDIR", path, true);
// and return the same path to our caller
(*localedir) = strdup (path.c_str());
}