(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
This commit is contained in:
@@ -922,7 +922,6 @@ struct MessageHistoryWindow : Window {
|
||||
MessageHistoryWindow(const WindowDesc *desc) : Window()
|
||||
{
|
||||
this->InitNested(desc); // Initializes 'this->line_height' and 'this->date_width'.
|
||||
this->vscroll.SetCapacity((this->GetWidget<NWidgetBase>(MHW_BACKGROUND)->current_y - this->top_spacing - this->bottom_spacing) / this->line_height);
|
||||
this->OnInvalidateData(0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user