diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-25 22:55:16 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:43:27 +0100 |
commit | 47d0d86a3c31c3b9ae71e5bed5007d0ba0a1337d (patch) | |
tree | 82a3442744cdd03f74550c4e1e24a562f38648e7 /src/news_gui.h | |
parent | 9e19a5f93e3d79ac30bec14b6e0ba673b7073863 (diff) | |
download | openttd-47d0d86a3c31c3b9ae71e5bed5007d0ba0a1337d.tar.xz |
Fix #7255: Prevent crashlog corruption by only printing the 32 most recent news messages
Diffstat (limited to 'src/news_gui.h')
-rw-r--r-- | src/news_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.h b/src/news_gui.h index 0f42c68c6..569a8b8a7 100644 --- a/src/news_gui.h +++ b/src/news_gui.h @@ -17,6 +17,6 @@ void ShowLastNewsMessage(); void ShowMessageHistory(); -extern NewsItem *_oldest_news; +extern NewsItem *_latest_news; #endif /* NEWS_GUI_H */ |