Commit 7776995b authored by rswindell's avatar rswindell
Browse files

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

parent 17bc54b7
......@@ -152,8 +152,8 @@ void sbbs_t::readmail(uint usernumber, int which)
logline("E",str);
}
if(useron.misc&RIP) {
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL ?
"ALLMAIL" : "SENTMAIL");
strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL ?
"allmail" : "sentmail");
menu(str); }
while(online && !done) {
action=act;
......@@ -317,8 +317,8 @@ void sbbs_t::readmail(uint usernumber, int which)
else domsg=1;
if(useron.misc&WIP) {
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL ?
"ALLMAIL" : "SENTMAIL");
strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL ?
"allmail" : "sentmail");
menu(str); }
ASYNC;
......@@ -663,8 +663,8 @@ void sbbs_t::readmail(uint usernumber, int which)
if(curmsg<msgs-1) curmsg++;
break;
case '?':
strcpy(str,which==MAIL_YOUR ? "MAILREAD" : which==MAIL_ALL
? "ALLMAIL" : "SENTMAIL");
strcpy(str,which==MAIL_YOUR ? "mailread" : which==MAIL_ALL
? "allmail" : "sentmail");
menu(str);
if(SYSOP && which==MAIL_SENT)
menu("syssmail");
......
......@@ -265,7 +265,7 @@ void sbbs_t::useredit(int usernumber)
break;
if(c==CR) break;
if(c=='?') {
sprintf(str,"FLAGS%d",i);
sprintf(str,"flags%d",i);
menu(str);
continue; }
if(isdigit(c)) {
......
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