OSX/locale: a further cleanup
This commit is contained in:
@@ -66,6 +66,7 @@ void bl_locale_set(const char *locale)
|
||||
}
|
||||
else {
|
||||
#ifdef __APPLE__
|
||||
extern const char *user_locale; // pulled from Ghost_SystemCocoa
|
||||
std::string locale_osx = user_locale + std::string(".UTF-8");
|
||||
_locale = gen(locale_osx.c_str());
|
||||
std::locale::global(_locale);
|
||||
|
@@ -43,10 +43,6 @@ void bl_locale_set(const char *locale);
|
||||
const char *bl_locale_get(void);
|
||||
const char *bl_locale_pgettext(const char *msgctxt, const char *msgid);
|
||||
|
||||
#ifdef __APPLE__
|
||||
extern const char *user_locale; // pulled from Ghost_SystemCocoa
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user