Fix #116135: Ensure blf_font_width_to_rstrlen always works #116208

Merged
Harley Acheson merged 1 commits from Harley/blender:blf_font_width_to_rstrlen into main 2023-12-14 23:19:18 +01:00

1 Commits

Author SHA1 Message Date
Harley Acheson 7b28b1dc9f Fix #116135: Ensure blf_font_width_to_rstrlen always works
If the string is shorter than the cut-off length, ensure we always
exit cleanly when we iterate to the very start of the string.
2023-12-14 14:15:47 -08:00