diff options
author | truelight <truelight@openttd.org> | 2004-12-21 16:54:46 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2004-12-21 16:54:46 +0000 |
commit | 9044110096c8b4af23005f4f7349e62c03be0207 (patch) | |
tree | 7511ea8fb5ecd6775f03a7f3240dca0f1ffdb2ea | |
parent | d8709b18c634b7911e30b3fad09590a3c8f7b505 (diff) | |
download | openttd-9044110096c8b4af23005f4f7349e62c03be0207.tar.xz |
(svn r1201) -Fix: I forgot to add a * in r1183 ;)
-rw-r--r-- | news_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/news_gui.c b/news_gui.c index d323d83ff..c21a12a5e 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; |