From 9c09deba37745cb670c6a8ffb7d34f0efc3e40e6 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 23:07:32 +0000 Subject: [PATCH] Decompile fn_10798 (UIBmpTextButton2::Paint) Batch #13831 by SapitoSucio: 1 byte-identical, 0 confirmed by peer review. - fn_10798 UIBmpTextButton2::Paint: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Buttons/UIBmpTextButton2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/UI/Buttons/UIBmpTextButton2.cpp b/Source/UI/Buttons/UIBmpTextButton2.cpp index 0b51c1ddc..0b6387e9c 100644 --- a/Source/UI/Buttons/UIBmpTextButton2.cpp +++ b/Source/UI/Buttons/UIBmpTextButton2.cpp @@ -29,7 +29,7 @@ void UIBmpTextButton2::Paint() { } } - if (this->m_disabled != 0 && !this->m_names[3].empty()) { + if (this->m_disabled != 0 && this->m_names[3].size() > 0) { bitmap = static_cast(ResourceMgr::Instance().Load(Resolve(this->m_names[3].c_str()))); }