include/SDL_stdinc.h
changeset 6610 4032f8efdfe7
parent 6594 dccafb0699dc
child 6627 23b7cef164ae
     1.1 --- a/include/SDL_stdinc.h	Sat Oct 27 02:54:10 2012 -0700
     1.2 +++ b/include/SDL_stdinc.h	Sun Oct 28 13:03:45 2012 -0700
     1.3 @@ -748,8 +748,8 @@
     1.4                                                 const char *inbuf,
     1.5                                                 size_t inbytesleft);
     1.6  #define SDL_iconv_utf8_locale(S)	SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1)
     1.7 -#define SDL_iconv_utf8_ucs2(S)		(Uint16 *)SDL_iconv_string("UCS-2", "UTF-8", S, SDL_strlen(S)+1)
     1.8 -#define SDL_iconv_utf8_ucs4(S)		(Uint32 *)SDL_iconv_string("UCS-4", "UTF-8", S, SDL_strlen(S)+1)
     1.9 +#define SDL_iconv_utf8_ucs2(S)		(Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
    1.10 +#define SDL_iconv_utf8_ucs4(S)		(Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1)
    1.11  
    1.12  /* Ends C function definitions when using C++ */
    1.13  #ifdef __cplusplus