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