Commit 53a15037 authored by rswindell's avatar rswindell
Browse files

Display message tags, if/when there are any to display, as part of the

message header.
parent 6957df8b
......@@ -136,6 +136,8 @@ void sbbs_t::show_msghdr(smbmsg_t* msg)
menu("msghdr");
} else {
bprintf(text[MsgSubj],msg->subj);
if(msg->tags && *msg->tags)
bprintf(text[MsgTags], msg->tags);
if(msg->hdr.attr)
show_msgattr(msg);
if(msg->to && *msg->to) {
......
......@@ -815,6 +815,7 @@ enum {
,VoteNoticeFmt
,TagMessageQ
,TagMessagePrompt
,MsgTags
,TOTAL_TEXT
};
......
......@@ -1327,7 +1327,7 @@ const char * const text_defaults[TOTAL_TEXT]={
,"\x52\x65\x6d\x6f\x76\x65\x20\x66\x69\x6c\x65" // 800 RemoveFileQ
,"\x4f\x72\x69\x67\x69\x6e\x61\x74\x69\x6e\x67\x20\x41\x64\x64\x72\x65\x73\x73" // 801 OriginFidoAddr
,"\x01\x6e\x01\x68\xfb\x20\x01\x6d\x25\x2e\x37\x37\x73\x0d\x0a" // 802 VoteNoticeFmt
,"\x54\x61\x67\x20\x74\x68\x69\x73\x20\x6d\x65\x73\x73\x61\x67\x65\x3f" // 803 TagMessageQ
,"\x54\x61\x67\x20\x28\x6f\x72\x20\x45\x4e\x54\x45\x52\x20\x74\x6f\x20\x73\x74\x6f\x70\x20\x74\x61\x67\x67\x69\x6e\x67\x29\x3a\x20"
"" // 804 TagMessagePrompt
,"\x0d\x0a\x54\x61\x67\x20\x74\x68\x69\x73\x20\x6d\x65\x73\x73\x61\x67\x65" // 803 TagMessageQ
,"\x45\x6e\x74\x65\x72\x20\x28\x73\x70\x61\x63\x65\x2d\x73\x65\x70\x61\x72\x61\x74\x65\x64\x29\x20\x54\x61\x67\x73\x3a\x20" // 804 TagMessagePrompt
,"\x0d\x0a\xb3\x20\x01\x62\x54\x61\x67\x73\x01\x6e\x01\x62\x3a\x20\x01\x68\x01\x63\x25\x2e\x37\x30\x73" // 805 MsgTags
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment