From 4e1d72306fa6064cbd292fa807dc78b94066f142 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 12 Nov 2026 04:44:04 +0000 Subject: [PATCH] Decompile fn_10227 (UIRuneSystem_tagListWnd::SendMsg) Batch #17864 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_10227 UIRuneSystem_tagListWnd::SendMsg: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/RuneSystem/UIRuneSystemWnd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/UI/RuneSystem/UIRuneSystemWnd.cpp b/Source/UI/RuneSystem/UIRuneSystemWnd.cpp index e8adbab82..1943f4d23 100644 --- a/Source/UI/RuneSystem/UIRuneSystemWnd.cpp +++ b/Source/UI/RuneSystem/UIRuneSystemWnd.cpp @@ -586,7 +586,9 @@ int UIRuneSystem_tagListWnd::SendMsg(UIWindow*, int message, std::intptr_t argum case UM_COMMAND: switch (argument1) { case ID_PREV_PAGE: - this->m_firstTag = --this->m_firstTag < 0 ? 0 : this->m_firstTag; + if (--this->m_firstTag < 0) { + this->m_firstTag = 0; + } this->Invalidate(); break; case ID_NEXT_PAGE: