Whoops, needed to remove the other version of getlocale()
authorSam Lantinga <slouken@libsdl.org>
Thu, 12 Jul 2007 07:55:18 +0000
changeset 2183 9f31740cad2e
parent 2182 cc2597da0840
child 2184 8f8516e79a13
Whoops, needed to remove the other version of getlocale()
src/stdlib/SDL_iconv.c
--- a/src/stdlib/SDL_iconv.c	Thu Jul 12 07:52:50 2007 +0000
+++ b/src/stdlib/SDL_iconv.c	Thu Jul 12 07:55:18 2007 +0000
@@ -798,27 +798,6 @@
 
 #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)