changeset 2183:9f31740cad2e

Whoops, needed to remove the other version of getlocale()
author Sam Lantinga <slouken@libsdl.org>
date Thu, 12 Jul 2007 07:55:18 +0000
parents cc2597da0840
children 8f8516e79a13
files src/stdlib/SDL_iconv.c
diffstat 1 files changed, 0 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- 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)