From c673ea6120986bd733f810ae4e57c6a87d4ac0cf Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 10 Nov 2026 12:46:19 +0000 Subject: [PATCH] Decompile fn_11795 (UINoticeWnd::LoadNotice) Batch #16003 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_11795 UINoticeWnd::LoadNotice: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/UI/Window/UINoticeWnd.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/UI/Window/UINoticeWnd.cpp b/Source/UI/Window/UINoticeWnd.cpp index 699a0ef72..33595aac4 100644 --- a/Source/UI/Window/UINoticeWnd.cpp +++ b/Source/UI/Window/UINoticeWnd.cpp @@ -63,13 +63,13 @@ void UINoticeWnd::LoadNotice() { } } - int visible = lineCount - 1; - if (visible > 19) { - visible = 19; + --lineCount; + if (lineCount > 19) { + lineCount = 19; } for (int i = 0; i < 19; ++i) { - if (i < visible) { + if (i < lineCount) { this->m_texts[i]->SetText(buffer + lineStarts[this->m_scroll + i], 1); } else { this->m_texts[i]->SetText("", 0);