Skip to content
Snippets Groups Projects
Commit 8e92a545 authored by rswindell's avatar rswindell
Browse files

Use bprintf/bputs to output @-code values since rputs doesn't track columns.

parent 273f33ab
No related branches found
No related tags found
No related merge requests found
......@@ -84,11 +84,11 @@ int sbbs_t::show_atcode(const char *instr)
return(0);
if(padded_left)
rprintf("%-*.*s",disp_len,disp_len,cp);
bprintf("%-*.*s",disp_len,disp_len,cp);
else if(padded_right)
rprintf("%*.*s",disp_len,disp_len,cp);
bprintf("%*.*s",disp_len,disp_len,cp);
else
rputs(cp);
bputs(cp);
return(len);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment