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

Fixed case of menu filenames: need to be lowercase for Unix-compatibility.

parent 17bc54b7
No related branches found
No related tags found
No related merge requests found
...@@ -152,8 +152,8 @@ void sbbs_t::readmail(uint usernumber, int which) ...@@ -152,8 +152,8 @@ void sbbs_t::readmail(uint usernumber, int which)
logline("E",str); logline("E",str);
} }
if(useron.misc&RIP) { if(useron.misc&RIP) {
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL ? strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL ?
"ALLMAIL" : "SENTMAIL"); "allmail" : "sentmail");
menu(str); } menu(str); }
while(online && !done) { while(online && !done) {
action=act; action=act;
...@@ -317,8 +317,8 @@ void sbbs_t::readmail(uint usernumber, int which) ...@@ -317,8 +317,8 @@ void sbbs_t::readmail(uint usernumber, int which)
else domsg=1; else domsg=1;
if(useron.misc&WIP) { if(useron.misc&WIP) {
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL ? strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL ?
"ALLMAIL" : "SENTMAIL"); "allmail" : "sentmail");
menu(str); } menu(str); }
ASYNC; ASYNC;
...@@ -663,8 +663,8 @@ void sbbs_t::readmail(uint usernumber, int which) ...@@ -663,8 +663,8 @@ void sbbs_t::readmail(uint usernumber, int which)
if(curmsg<msgs-1) curmsg++; if(curmsg<msgs-1) curmsg++;
break; break;
case '?': case '?':
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL
? "ALLMAIL" : "SENTMAIL"); ? "allmail" : "sentmail");
menu(str); menu(str);
if(SYSOP && which==MAIL_SENT) if(SYSOP && which==MAIL_SENT)
menu("syssmail"); menu("syssmail");
......
...@@ -265,7 +265,7 @@ void sbbs_t::useredit(int usernumber) ...@@ -265,7 +265,7 @@ void sbbs_t::useredit(int usernumber)
break; break;
if(c==CR) break; if(c==CR) break;
if(c=='?') { if(c=='?') {
sprintf(str,"FLAGS%d",i); sprintf(str,"flags%d",i);
menu(str); menu(str);
continue; } continue; }
if(isdigit(c)) { if(isdigit(c)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment