From fc3b50609985adde62c60d3863a30d5ac0945ede Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 12 Jul 2007 07:55:18 +0000 Subject: [PATCH] Whoops, needed to remove the other version of getlocale() --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402504 --- src/stdlib/SDL_iconv.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c index 39d165265..de6ba96e3 100644 --- a/src/stdlib/SDL_iconv.c +++ b/src/stdlib/SDL_iconv.c @@ -798,27 +798,6 @@ SDL_iconv_close(SDL_iconv_t cd) #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 * SDL_iconv_string(const char *tocode, const char *fromcode, const char *inbuf, size_t inbytesleft)