We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2082 - SDL stdlib implementation does not force upper case for %X format specifier
Summary: SDL stdlib implementation does not force upper case for %X format specifier
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 19:17 UTC by norfanin
Modified: 2013-09-05 13:59 UTC (History)
0 users

See Also:


Attachments
Fixes the upper case enforcement for the %X format specifier. (1.49 KB, patch)
2013-09-02 19:17 UTC, norfanin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description norfanin 2013-09-02 19:17:02 UTC
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.
Comment 1 Sam Lantinga 2013-09-05 13:59:56 UTC
Fixed, thanks!
http://hg.libsdl.org/SDL/rev/800313a3533d