news_gui.c
changeset 935 c04b8d95865a
parent 919 b0d6c7642f99
child 1095 90220990fd7c
--- a/news_gui.c	Sat Jan 08 08:29:12 2005 +0000
+++ b/news_gui.c	Sat Jan 08 09:09:11 2005 +0000
@@ -219,7 +219,7 @@
 		return;
 
 	// check the rare case that the oldest (to be overwritten) news item is open
-	if (_oldest_news == _current_news || _oldest_news == _forced_news)
+	if (_total_news==MAX_NEWS && (_oldest_news == _current_news || _oldest_news == _forced_news))
 		MoveToNexItem();
 
 	_forced_news = INVALID_NEWS;