Commit 09716117 authored by rswindell's avatar rswindell
Browse files

A little beautification of the unread msg only toggle output.

parent e8965220
......@@ -802,13 +802,14 @@ void sbbs_t::readmail(uint usernumber, int which)
if(!(lm_mode&LM_UNREAD)) {
if(getmail(&cfg, usernumber, /* Sent: */FALSE, /* attr: */0)
== getmail(&cfg, usernumber, /* Sent: */FALSE, /* attr: */MSG_READ)) {
bprintf(text[NoMailWaiting], "Un-read");
bprintf(text[NoMailWaiting], "un-read mail");
break;
}
}
lm_mode ^= LM_UNREAD;
bputs(text[DisplayUnreadMessagesOnlyQ]);
bputs((lm_mode&LM_UNREAD) ? text[On] : text[Off]);
bprintf("%s: %s"
,text[DisplayUnreadMessagesOnlyQ]
,(lm_mode&LM_UNREAD) ? text[On] : text[Off]);
CRLF;
break;
}
......
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