From cfb24bb6b3eb837b5bf634d276bda5e8d73eeefc Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Fri, 6 Nov 2026 11:23:13 +0000 Subject: [PATCH] Decompile fn_10463 (CCreateLineInfo::CreateLinkWindow) Batch #13201 by cremane: 0 byte-identical, 1 confirmed by peer review. - fn_10463 CCreateLineInfo::CreateLinkWindow: logic confirmed by peer review Peer-reviewed-by: gordaoprogramas, Tanke, codeplay Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). --- Source/UI/Text/NavigationLink.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/UI/Text/NavigationLink.cpp b/Source/UI/Text/NavigationLink.cpp index 6f102ab1..d618925f 100644 --- a/Source/UI/Text/NavigationLink.cpp +++ b/Source/UI/Text/NavigationLink.cpp @@ -1123,7 +1123,8 @@ UITextButton* CCreateLineInfo::CreateLinkWindow(const std::string& text, const s button->SetId(type); button->ResizeToTextClipped(width + 1, button->geometry.height); - for (std::string part : parts) { + for (auto it = parts.begin(); it != parts.end(); ++it) { + std::string part = *it; button->m_lines.push_back(part); }