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

PETSCII terminals don't have braces keys, so map to parens the same

functionality.
parent 77792ea6
No related branches found
No related tags found
No related merge requests found
...@@ -402,7 +402,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode) ...@@ -402,7 +402,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
bprintf(text[ReadingAllMail],smb.curmsg+1,smb.msgs); bprintf(text[ReadingAllMail],smb.curmsg+1,smb.msgs);
else else
bprintf(text[ReadingMail],smb.curmsg+1,smb.msgs); bprintf(text[ReadingMail],smb.curmsg+1,smb.msgs);
sprintf(str,"ADFLNQRT?<>[]{}-+/"); sprintf(str,"ADFLNQRT?<>[]{}()-+/");
if(SYSOP) if(SYSOP)
strcat(str,"CUSPH"); strcat(str,"CUSPH");
if(which == MAIL_YOUR) if(which == MAIL_YOUR)
...@@ -650,6 +650,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode) ...@@ -650,6 +650,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
bputs(text[NoMessagesFound]); bputs(text[NoMessagesFound]);
} }
break; break;
case ')':
case '}': /* Search Author forward */ case '}': /* Search Author forward */
strcpy(str,msg.from); strcpy(str,msg.from);
for(u=smb.curmsg+1;u<smb.msgs;u++) for(u=smb.curmsg+1;u<smb.msgs;u++)
...@@ -673,6 +674,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode) ...@@ -673,6 +674,7 @@ void sbbs_t::readmail(uint usernumber, int which, long lm_mode)
bputs(text[NoMessagesFound]); bputs(text[NoMessagesFound]);
} }
break; break;
case '(':
case '{': /* Search Author backward */ case '{': /* Search Author backward */
strcpy(str,msg.from); strcpy(str,msg.from);
if(smb.curmsg > 0) { if(smb.curmsg > 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment