src/stdlib/SDL_iconv.c
changeset 3320 b225c8a7896e
parent 2859 99210400e8b9
child 3539 f2846bf19360
     1.1 --- a/src/stdlib/SDL_iconv.c	Sat Sep 26 10:32:14 2009 +0000
     1.2 +++ b/src/stdlib/SDL_iconv.c	Sat Sep 26 10:36:55 2009 +0000
     1.3 @@ -832,7 +832,7 @@
     1.4              tocode = "UTF-8";
     1.5          }
     1.6          if (!fromcode || !*fromcode) {
     1.7 -            tocode = "UTF-8";
     1.8 +            fromcode = "UTF-8";
     1.9          }
    1.10          cd = SDL_iconv_open(tocode, fromcode);
    1.11      }