Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apostrophe modifier in *printf is broken Bug #61532 #47

Merged
merged 0 commits into from
Apr 9, 2012
Merged

Apostrophe modifier in *printf is broken Bug #61532 #47

merged 0 commits into from
Apr 9, 2012

Conversation

srgoogleguy
Copy link
Contributor

This is a fix for Bug #61532.

Expected result was that printf/sprint does not change the custom padding modifier after it has been clearly specified as '.' with a 0 in printf("%'.09"); // for example. The suggested fix is to prevent the padding modifier from being overwritten by doing an extra check that it is still not the default initialized value of ' '.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant