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).
This commit is contained in:
parent
e42a49756b
commit
cfb24bb6b3
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue