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

fix: Fixes incorrect interpolation in legacy gumps #1800

Merged
merged 1 commit into from
May 29, 2024

Conversation

kamronbatman
Copy link
Contributor

@kamronbatman kamronbatman commented May 29, 2024

Summary

  • Fixes wrong interpolation.

Important

Developer Note
Do not use ternary/switch expressions inside arguments to functions that take custom interpolations.
Doing so will result in the interpolation handler not being used, and a string will be allocated instead.

Incorrect ❌

image

Correct ✅

image

@kamronbatman kamronbatman merged commit 96a3987 into main May 29, 2024
13 checks passed
@kamronbatman kamronbatman deleted the kbatman/fix_bad_interpolation branch May 29, 2024 01:38
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.

None yet

1 participant