(svn r1201) -Fix: I forgot to add a * in r1183 ;)

This commit is contained in:
truelight
2004-12-21 16:54:46 +00:00
parent d8709b18c6
commit 9044110096

View File

@@ -234,7 +234,7 @@ void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b)
// add news to _latest_news
ni = &_news_items[_latest_news];
memset(ni, 0, sizeof(ni));
memset(ni, 0, sizeof(*ni));
ni->string_id = string;
ni->display_mode = (byte)flags;