diff options
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 55aec1c22..ba6cf2059 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -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); } |