| Summary: | SDL stdlib implementation does not force upper case for %X format specifier | ||
|---|---|---|---|
| Product: | SDL | Reporter: | norfanin |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 2.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | Fixes the upper case enforcement for the %X format specifier. | ||
Fixed, thanks! http://hg.libsdl.org/SDL/rev/800313a3533d |
Created attachment 1318 [details] Fixes the upper case enforcement for the %X format specifier. When SDL_vsnprintf handles the %x format specifier, a boolean is set to signal forced lower case. It also should be able to signal forced upper case for the %X specifier. A boolean is not sufficient anymore. The attached patch adds an enum for the three cases: lower, upper and no change.