diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/news_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 33713f45f..d35eeced2 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -528,7 +528,7 @@ static void DeleteNewsItem(NewsItem *ni) 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(); } |