Skip to content

Remove int to bool conversion in ChangeConfiguation#362

Merged
matth-x merged 2 commits intomainfrom
fix/configuration-convert-bool
Aug 26, 2024
Merged

Remove int to bool conversion in ChangeConfiguation#362
matth-x merged 2 commits intomainfrom
fix/configuration-convert-bool

Conversation

@matth-x
Copy link
Owner

@matth-x matth-x commented Aug 26, 2024

When ChangeConfiguation tried to update a boolean config with an integer value, then the integer was converted to bool following the C convention (i.e. 0 is false and all other numbers mean true). That behavior is misleading and removed in this PR.

@matth-x matth-x merged commit 46d4399 into main Aug 26, 2024
@matth-x matth-x deleted the fix/configuration-convert-bool branch August 26, 2024 09:07
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