src/stdlib/SDL_iconv.c
branchSDL-1.2
changeset 4243 22aec2e85b86
parent 4159 a1b03ba2fcd0
child 4388 1524d3237820
     1.1 --- a/src/stdlib/SDL_iconv.c	Sat Sep 26 10:05:07 2009 +0000
     1.2 +++ b/src/stdlib/SDL_iconv.c	Sat Sep 26 10:37:28 2009 +0000
     1.3 @@ -828,7 +828,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  	}