Changeset - r92:2494679288b7
[Not reviewed]
master
0 1 0
dominik - 20 years ago 2004-08-20 15:37:44
dominik@openttd.org
(svn r93) Fix: memory leak in news system (blathijs)
1 file changed with 5 insertions and 1 deletions:
0 comments (0 inline, 0 general)
news_gui.c
Show inline comments
 
@@ -338,7 +338,11 @@ static void ShowTicker(NewsItem *ni)
 
static bool ReadyForNextItem()
 
{
 
	Window *w;
 
	NewsItem *ni = &_news_items[(_forced_news==255)?_current_news:_forced_news];
 
	byte item = (_forced_news==255)?_current_news:_forced_news;
 
	NewsItem *ni;
 

	
 
	if(item>=MAX_NEWS) return false;
 
	ni = &_news_items[item];
 

	
 
	// Ticker message
 
	// Check if the status bar message is still being displayed?
0 comments (0 inline, 0 general)