branch | NewGRF_ports |
changeset 10994 | cd9968b6f96b |
parent 10991 | d8811e327d12 |
--- a/src/news_gui.cpp Tue Jun 17 10:32:49 2008 +0000 +++ b/src/news_gui.cpp Tue Jun 17 13:22:13 2008 +0000 @@ -528,7 +528,7 @@ MoveToNextItem(); } - if ((_current_news == ni) && (FindWindowById(WC_MESSAGE_HISTORY, 0) != NULL)) { + if ((_current_news == ni) && (FindWindowById(WC_NEWS_WINDOW, 0) != NULL)) { /* about to remove the currently displayed item; also skip */ MoveToNextItem(); }