Skip to content
Snippets Groups Projects
Commit bb88ac06 authored by rswindell's avatar rswindell
Browse files

Fixed GCC compile error: invalid conversion from 'const char*' to 'char*'

parent a42b1476
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
else
act=NODE_RMAL;
action=act;
char* order = (lm_mode&LM_REVERSE) ? "newest" : "oldest";
const char* order = (lm_mode&LM_REVERSE) ? "newest" : "oldest";
if(smb.msgs>1 && which!=MAIL_ALL) {
if(which==MAIL_SENT)
bprintf(text[MailSentLstHdr], order);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment