From 0dcb694d1cf384446a2c0ae0d216fa09fc11bf09 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 00:28:23 +0000 Subject: [PATCH] Decompile fn_10057 (UIRodexInboxWnd::SetMailRow) Batch #16641 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_10057 UIRodexInboxWnd::SetMailRow: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, alisonrag, br4yan Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Rodex/UIRodexInboxWnd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/UI/Rodex/UIRodexInboxWnd.cpp b/Source/UI/Rodex/UIRodexInboxWnd.cpp index e3f76ee54..5b8dc18b6 100644 --- a/Source/UI/Rodex/UIRodexInboxWnd.cpp +++ b/Source/UI/Rodex/UIRodexInboxWnd.cpp @@ -512,14 +512,14 @@ void UIRodexInboxWnd::SetButtonsDisabled(unsigned char disabled) { void UIRodexInboxWnd::SetMailRow(int row, std::int64_t mailId, std::string name, std::string subject, unsigned char read, unsigned char returned, int noAttachment) { std::string nameText = name; std::string subjectText = subject; - const std::pair stripped = g_navigationLinkParser->RemoveLineBreakTag(subjectText); + const std::pair stripped = GetNavigationLinkParser()->RemoveLineBreakTag(subjectText); subjectText = stripped.second; if (stripped.first == true) { this->senderButtons[row]->SetTooltip(""); } - nameText = g_navigationLinkParser->ExpandMessages(nameText); - subjectText = g_navigationLinkParser->ExpandMessages(subjectText); + nameText = GetNavigationLinkParser()->ExpandMessages(nameText); + subjectText = GetNavigationLinkParser()->ExpandMessages(subjectText); this->checks[row]->Show(1); this->checks[row]->m_message = static_cast(mailId);