Skip to content

Rewrite toInt() to fail on invalid input #3897

Description

@ann0see

toInt() has a variant that sets a success indicator. That's should always be used when validating external input (even stored in a settings ini file, really).

Originally posted by @pljones in #3772 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions