summaryrefslogtreecommitdiff
path: root/news.h
diff options
context:
space:
mode:
Diffstat (limited to 'news.h')
-rw-r--r--news.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/news.h b/news.h
index 858d3923a..60d7a3e6e 100644
--- a/news.h
+++ b/news.h
@@ -23,7 +23,7 @@ struct NewsItem {
typedef bool ValidationProc ( uint data_a, uint data_b );
typedef void DrawNewsCallbackProc(Window *w);
-typedef StringID GetNewsStringCallbackProc(NewsItem *ni);
+typedef StringID GetNewsStringCallbackProc(const NewsItem *ni);
#define NEWS_FLAGS(mode,flag,type,cb) ((cb)<<24 | (type)<<16 | (flag)<<8 | (mode))
void AddNewsItem(StringID string, uint32 flags, uint data_a, uint data_b);