File diff r12725:e883941d04f5 → r12726:b1c44e9069eb
src/news_gui.cpp
Show inline comments
 
@@ -187,13 +187,12 @@ struct NewsWindow : Window {
 
	NewsWindow(const WindowDesc *desc, NewsItem *ni) : Window(desc), ni(ni)
 
	{
 
		NewsWindow::duration = 555;
 
		const Window *w = FindWindowById(WC_SEND_NETWORK_MSG, 0);
 
		this->chat_height = (w != NULL) ? w->height : 0;
 

	
 
		this->ni = _forced_news == NULL ? _current_news : _forced_news;
 
		this->flags4 |= WF_DISABLE_VP_SCROLL;
 

	
 
		this->FindWindowPlacementAndResize(desc);
 
	}
 

	
 
	void DrawNewsBorder()