From e050790914230cecfda978f6fa6d308ef60362e5 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 5 Nov 2026 12:25:57 +0000 Subject: [PATCH] Confirm fn_11216 (UIChatHisBox::Convert) Batch #12230 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_11216 UIChatHisBox::Convert: logic confirmed by peer review (already on main) Peer-reviewed-by: KWDev, Toshiro, cremane Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UIChatHisBox.h | 2 +- Source/UI/Text/ItemLinkDisplay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/UI/Lists/UIChatHisBox.h b/Source/UI/Lists/UIChatHisBox.h index b79e0f45..7c68b302 100644 --- a/Source/UI/Lists/UIChatHisBox.h +++ b/Source/UI/Lists/UIChatHisBox.h @@ -50,7 +50,7 @@ public: bool Name(const std::string& encoded, std::string& output); bool Next(std::string& remaining, std::string& encoded, unsigned& position, const char* original); std::string Convert(const std::string& text); - std::string BracketName(const std::string& name); + const std::string BracketName(const std::string& name); /* 00D4 */ std::list> itemTags; diff --git a/Source/UI/Text/ItemLinkDisplay.cpp b/Source/UI/Text/ItemLinkDisplay.cpp index 167e1db5..17233634 100644 --- a/Source/UI/Text/ItemLinkDisplay.cpp +++ b/Source/UI/Text/ItemLinkDisplay.cpp @@ -126,7 +126,7 @@ std::string UIChatHisBox::Convert(const std::string& text) { // OFFSET: 0x00884460 // FUNCTION: fn_11307 -std::string UIChatHisBox::BracketName(const std::string& name) { +const std::string UIChatHisBox::BracketName(const std::string& name) { std::string result; result += '<'; result += FitText(*this->geometry.surface, name, this->geometry.width / 2);