mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
Frame::FormattedText formats with the engine's str_format under pcall and hands the result to the type's own SetText, as 4.3.4 does: CSimpleButton::SetText (0x778DC0) for buttons, which creates a label when there is none, and the font string's SetText for font strings. The font string's version moves here from FontString::Metrics and now matches Lua SetText and 4.3.4: it passes expand = 1, so the |1 / |2 grammar escapes are rewritten, and raises "Font not set" on a string with no font.