From ed76a25b2da0e02839b2494de9874d645b9c7f98 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Wed, 11 Nov 2026 23:02:45 +0000 Subject: [PATCH] Decompile fn_13887 (UITagListBox::SendMsg) Batch #17413 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_13887 UITagListBox::SendMsg: logic confirmed by peer review Peer-reviewed-by: Yommy, cremane, bibinir Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Lists/UITagListBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Lists/UITagListBox.cpp b/Source/UI/Lists/UITagListBox.cpp index 39e3469da..f71ce42fb 100644 --- a/Source/UI/Lists/UITagListBox.cpp +++ b/Source/UI/Lists/UITagListBox.cpp @@ -357,7 +357,7 @@ int UITagListBox::SendMsg(UIWindow* sender, int message, std::intptr_t argument1 UITagButton* tag = this->m_tagWindows[index]; if (tag) { const int line = tag->m_value; - if (line < this->topLine || this->geometry.height / this->lineHeight - this->bottomMargin + this->topLine <= line) { + if (line < this->topLine || line >= this->geometry.height / this->lineHeight - this->bottomMargin + this->topLine) { tag->Enable(0); } else { tag->Enable(1);