Commit a378f689 authored by rswindell's avatar rswindell
Browse files

Totally over-hauled @-code support.

parent f1ce48cb
This diff is collapsed.
......@@ -82,7 +82,7 @@ int sbbs_t::bputs(char *str)
if(str==mnestr /* Mnemonic string or */
|| (str>=text[0] /* Straight out of TEXT.DAT */
&& str<=text[TOTAL_TEXT-1])) {
i=atcodes(str+l); /* return 0 if not valid @ code */
i=show_atcode(str+l); /* return 0 if not valid @ code */
l+=i; /* i is length of code string */
if(i) /* if valid string, go to top */
continue; }
......@@ -90,7 +90,7 @@ int sbbs_t::bputs(char *str)
if(str==text[i])
break;
if(i<TOTAL_TEXT) { /* Replacement text */
i=atcodes(str+l);
i=show_atcode(str+l);
l+=i;
if(i)
continue; } }
......
......@@ -216,7 +216,7 @@ char sbbs_t::putmsg(char HUGE16 *str, long mode)
if(str[l]==ESC && str[l+1]=='$') /* WIP command */
lncntr=0;
if(str[l]=='@' && !(mode&P_NOATCODES)) {
i=atcodes((char *)str+l); /* returns 0 if not valid @ code */
i=show_atcode((char *)str+l); /* returns 0 if not valid @ code */
l+=i; /* i is length of code string */
if(i) /* if valid string, go to top */
continue; }
......
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