Skip to content

Width specifier not always respected for non-left-aligned fields #113

Open
@eyalroz

Description

@eyalroz

If we run sprintf_("%-20.5i", 123), we get 123 + 17 spaces rather than 00123 + 15 spaces.

This bug was noticed and supposedly fixed in this commit of mickjc750's fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions