(svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h

This commit is contained in:
smatz
2009-03-23 11:48:05 +00:00
parent 4bfcb07bca
commit ce4f598cf5
3 changed files with 10 additions and 6 deletions

View File

@@ -95,9 +95,9 @@ enum NewsDisplay {
*/
struct NewsTypeData {
const char * const name; ///< Name
const byte age; ///< Maximum age of news items (in days)
const SoundFx sound; ///< Sound
NewsDisplay display; ///< Display mode (off, summary, full)
const byte age; ///< Maximum age of news items (in days)
const SoundFx sound; ///< Sound
NewsDisplay display; ///< Display mode (off, summary, full)
};
struct NewsItem {