# HG changeset patch # User alberth # Date 2009-08-16 09:20:25 # Node ID b1c44e9069eb35e52e708eafd73fa644dda44618 # Parent e883941d04f5dbe2a32a587b49c5c743f0bb258e (svn r17202) -Codechange: News item is already given as argument. diff --git a/src/news_gui.cpp b/src/news_gui.cpp --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -190,7 +190,6 @@ struct NewsWindow : Window { 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);