(svn r2611) - CodeChange: use standardized truncutation with the newsmessage-history window as well

This commit is contained in:
Darkvater
2005-07-17 16:02:17 +00:00
parent 3e49626aec
commit 0eef2daf06
2 changed files with 32 additions and 42 deletions

2
news.h
View File

@@ -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);