Decompile fn_11553 (UIListBoxEx::SendMsg)
Batch #10613 by dori: 0 byte-identical, 1 confirmed by peer review. - fn_11553 UIListBoxEx::SendMsg: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, cremane, StrawberrysherbetIX 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
fa8912b0db
commit
dc8f4405f9
1 changed files with 2 additions and 6 deletions
|
|
@ -209,13 +209,9 @@ int UIListBoxEx::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
|
|||
this->parent->Invalidate();
|
||||
}
|
||||
|
||||
UIWindow* root = this;
|
||||
|
||||
while (root->parent) {
|
||||
root = root->parent;
|
||||
if (this->Root()) {
|
||||
this->Root()->Invalidate();
|
||||
}
|
||||
|
||||
root->Invalidate();
|
||||
return (this->topLine - previous);
|
||||
}
|
||||
case 8:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue