Commit fc3b5060 authored by Sam Lantinga's avatar Sam Lantinga

Whoops, needed to remove the other version of getlocale()

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402504
parent fc4cf4c9
...@@ -798,27 +798,6 @@ SDL_iconv_close(SDL_iconv_t cd) ...@@ -798,27 +798,6 @@ SDL_iconv_close(SDL_iconv_t cd)
#endif /* !HAVE_ICONV */ #endif /* !HAVE_ICONV */
static const char *
getlocale()
{
const char *lang;
lang = SDL_getenv("LC_ALL");
if (!lang) {
lang = SDL_getenv("LC_CTYPE");
}
if (!lang) {
lang = SDL_getenv("LC_MESSAGES");
}
if (!lang) {
lang = SDL_getenv("LANG");
}
if (!lang || SDL_strcmp(lang, "C") == 0) {
lang = "ASCII";
}
return lang;
}
char * char *
SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf,
size_t inbytesleft) size_t inbytesleft)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment