Commit edd297d5 authored by rswindell's avatar rswindell
Browse files

Using macros for ctrl key constants.

Removed unused code.
parent 724b2ea5
......@@ -74,7 +74,7 @@ int sbbs_t::bputs(char *str)
ulong l=0;
while(str[l]) {
if(str[l]==1) { /* ctrl-a */
if(str[l]==CTRL_A) { /* ctrl-a */
ctrl_a(str[++l]); /* skip the ctrl-a */
l++; /* skip the attribute code */
continue; }
......@@ -365,7 +365,7 @@ void sbbs_t::ctrl_a(char x)
outchar(LF);
break;
case 'A': /* Ctrl-A */
outchar(1);
outchar(CTRL_A);
break;
case 'H': /* High intensity */
atr|=HIGH;
......@@ -553,12 +553,6 @@ bool sbbs_t::msgabort()
checkline();
if(sys_status&SS_ABORT)
return(true);
#if 0 // no longer necessary
if(online==ON_REMOTE && rioctl(IOSTATE)&ABORT) {
rioctl(IOCS|ABORT);
sys_status|=SS_ABORT;
return(true); }
#endif
if(!online)
return(true);
return(false);
......
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