From 7776995bbbb6daa15b2237f8ab49ab8317bb486a Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 19 Jul 2002 00:12:23 +0000
Subject: [PATCH] Fixed case of menu filenames: need to be lowercase for
 Unix-compatibility.

---
 src/sbbs3/readmail.cpp | 12 ++++++------
 src/sbbs3/useredit.cpp |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/sbbs3/readmail.cpp b/src/sbbs3/readmail.cpp
index c3cc132da2..f4fabfd63a 100644
--- a/src/sbbs3/readmail.cpp
+++ b/src/sbbs3/readmail.cpp
@@ -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");
diff --git a/src/sbbs3/useredit.cpp b/src/sbbs3/useredit.cpp
index b30b88f762..884af18c19 100644
--- a/src/sbbs3/useredit.cpp
+++ b/src/sbbs3/useredit.cpp
@@ -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)) {
-- 
GitLab