From 9044110096c8b4af23005f4f7349e62c03be0207 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 21 Dec 2004 16:54:46 +0000 Subject: [PATCH] (svn r1201) -Fix: I forgot to add a * in r1183 ;) --- news_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/news_gui.c b/news_gui.c index d323d83ff6..c21a12a5eb 100644 --- a/news_gui.c +++ b/news_gui.c @@ -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;