summaryrefslogtreecommitdiff
path: root/news_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'news_gui.c')
-rw-r--r--news_gui.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/news_gui.c b/news_gui.c
index 1af619339..a426b7d4f 100644
--- a/news_gui.c
+++ b/news_gui.c
@@ -17,18 +17,18 @@
#include "date.h"
/* News system
-News system is realized as a FIFO queue (in an array)
-The positions in the queue can't be rearranged, we only access
-the array elements through pointers to the elements. Once the
-array is full, the oldest entry (_oldest_news) is being overwritten
-by the newest (_latest news).
-
-oldest current lastest
- | | |
-[O------------F-------------C---------L ]
- |
- forced
-*/
+ * News system is realized as a FIFO queue (in an array)
+ * The positions in the queue can't be rearranged, we only access
+ * the array elements through pointers to the elements. Once the
+ * array is full, the oldest entry (_oldest_news) is being overwritten
+ * by the newest (_latest news).
+ *
+ * oldest current lastest
+ * | | |
+ * [O------------F-------------C---------L ]
+ * |
+ * forced
+ */
#define MAX_NEWS 30
@@ -524,7 +524,7 @@ void ShowLastNewsMessage(void)
/* return news by number, with 0 being the most
-recent news. Returns INVALID_NEWS if end of queue reached. */
+ * recent news. Returns INVALID_NEWS if end of queue reached. */
static byte getNews(byte i)
{
if (i >= _total_news) return INVALID_NEWS;