Confirm fn_11353 (UIComboBoxEx2::Paint)

Batch #11218 by StrawberrysherbetIX: 0 byte-identical, 1 confirmed by peer review.

- fn_11353 UIComboBoxEx2::Paint: logic confirmed by peer review (already on main)

Peer-reviewed-by: ragnarok-clanker, Yommy, cremane
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-04 22:33:43 +00:00
commit d5efac64d3

View file

@ -210,7 +210,7 @@ int UIComboBoxEx::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::i
}
// INLINED
void UIComboBoxEx::DrawRows(bool centered) {
__forceinline void UIComboBoxEx::DrawRows(bool centered) {
const unsigned end = std::min(
static_cast<unsigned>(this->lines.size()), static_cast<unsigned>((this->topLine + (this->geometry.height / this->lineHeight - this->bottomMargin)))
);