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).
This commit is contained in:
ragnarok-clanker 2026-11-11 00:28:23 +00:00
commit 0dcb694d1c

View file

@ -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<bool, std::string> stripped = g_navigationLinkParser->RemoveLineBreakTag(subjectText);
const std::pair<bool, std::string> 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<int>(mailId);