match(address): reconstruct nullable drag text measurement #1013
Reference in New Issue
Block a user
Delete Branch "agent/bittle/address-drag-width"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exact source reconstruction
Recover nullable drag text measurement in a small inline helper, including target record-address evaluation before the text-box guard, root-pane lookup, and the explicit projected right-edge accumulator. The old reconstruction added the 0.01f margin even with no text box; the target skips it on that path.
NWC24FriendInfo::attr.name is an inline u16[12], not a nullable pointer for a valid record. The pre-existing target-emitted name check is retained, but tests do not manufacture invalid/null-name records.
Independent verification
No header, metadata, artificial storage, assembly or linking change.
Parent baseline:
674722c158Tested tree:
ffa64c93eeDOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.