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

Fixed TextLayout::getStringBounds nullptr error for empty strings #1459

Closed
wants to merge 1 commit into from

Conversation

FangCunWuChang
Copy link
Contributor

Calling TextLayout::getStringBounds() on an empty string will result in a null pointer error.

@tpoole
Copy link
Member

tpoole commented Oct 25, 2024

Thank you.

Added here: a784d57

@tpoole tpoole closed this Oct 25, 2024
@FangCunWuChang FangCunWuChang deleted the fixed-2 branch November 7, 2024 16:47
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