Skip to content

fix: Missing percentage precision for window size (#488)#494

Open
dengbo11 wants to merge 1 commit intojordansissel:masterfrom
dengbo11:master
Open

fix: Missing percentage precision for window size (#488)#494
dengbo11 wants to merge 1 commit intojordansissel:masterfrom
dengbo11:master

Conversation

@dengbo11
Copy link

@dengbo11 dengbo11 commented Nov 4, 2025

fix: Missing percentage precision for window size(#488)

Use strtod() instead of strtoul() for percentage parsing, and the window size should be calculated using a percentage value if a percentage
is specified.

other changes:
Fix argument count validation error message.

Fixes #488

Use strtod() instead of strtoul() for percentage parsing, and the window size should be calculated using a percentage value if a percentage is specified.

other changes:
Fix argument count validation error message.

Fixes jordansissel#488
@dengbo11 dengbo11 changed the title fix: Missing percentage precision for window size #[488] fix: Missing percentage precision for window size (#488) Nov 4, 2025
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.

percentage are parsed as integer, fractional part are silently ignored

1 participant