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

Prevent crash when passing NULL to GuiToggleSlider #437

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

planetis-m
Copy link
Contributor

Later in the function there's a if text != NULL check that draws an area only if there's text passed to the function. This prevents crashing otherwise.

@raysan5 raysan5 merged commit d0cbf9b into raysan5:master Dec 1, 2024
@raysan5
Copy link
Owner

raysan5 commented Dec 1, 2024

@planetis-m thanks for the review!

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.

2 participants