Decompile fn_11307 (ItemLinkDisplay::BracketName)

Batch #6680 by Bielhp: 0 byte-identical, 1 confirmed by peer review.

- fn_11307 ItemLinkDisplay::BracketName: logic confirmed by peer review

Peer-reviewed-by: eAthena, KWDev
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-10-31 01:39:17 +00:00
commit 9f097590ab
2 changed files with 11 additions and 0 deletions

View file

@ -124,3 +124,13 @@ std::string ItemLinkDisplay::Convert(const std::string& text) {
result += remaining;
return result;
}
// OFFSET: 0x00884460
// FUNCTION: fn_11307
std::string ItemLinkDisplay::BracketName(const std::string& name) {
std::string result;
result += '<';
result += FitText(this->surface, name, this->width / 2);
result += '>';
return result;
}