| Summary: | Wrong assignment in SDL_iconv_string()... | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | target-1.2.14 |
| Version: | HG 2.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
This is fixed in subversion, thanks! |
This line in SDL_iconv_string (src/stdlib/SDL_iconv.c) ... if (!fromcode || !*fromcode) { tocode = "UTF-8"; } Is probably supposed to assign to "fromcode" and not "tocode". Exists in both SDL 1.2 and 1.3. --ryan.