Skip to content
Snippets Groups Projects
Commit 5e031c1c authored by rswindell's avatar rswindell
Browse files

Use CTRL_A macro instead of '1' for Ctrl-A character constant.

parent 8d799e28
No related branches found
No related tags found
No related merge requests found
...@@ -358,7 +358,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, ulong blocks ...@@ -358,7 +358,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, ulong blocks
if(!fromhub && (qwkbuf[k]==CTRL_A || qwkbuf[k]==ESC) if(!fromhub && (qwkbuf[k]==CTRL_A || qwkbuf[k]==ESC)
&& useron.rest&FLAG('A')) && useron.rest&FLAG('A'))
continue; continue;
if(qwkbuf[k]!=1 && lastch!=1) if(qwkbuf[k]!=CTRL_A && lastch!=CTRL_A)
col++; col++;
if(lastch==CTRL_A && !valid_ctrl_a_code(qwkbuf[k])) { if(lastch==CTRL_A && !valid_ctrl_a_code(qwkbuf[k])) {
if(taillen) taillen--; if(taillen) taillen--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment