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

audqt: Parse font family names containing digits correctly #1488

Merged
merged 1 commit into from
Oct 7, 2024

Commits on Oct 7, 2024

  1. audqt: Parse font family names containing digits correctly. Closes: a…

    …udacious-media-player#1483
    
    "PxPlus ToshibaSat 9x16 Bold 8" from the Oldschool PC Font Pack
    is such an example. To parse the font family correctly, we need
    to check if all characters for the font size are digits.
    
    Both str_to_int() and atoi() do not support this.
    Use strtol() instead and check "endptr" accordingly.
    radioactiveman committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    226d066 View commit details
    Browse the repository at this point in the history