Commit 0b8c9595 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Support C escape sequences in FILL @-code argument

e.g. FILL:\x20 to fill with space (for Michael Long via USENET)
parent 2a11b15e
Pipeline #258 passed with stage
in 19 minutes and 5 seconds
......@@ -698,6 +698,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen, long* pmode, bool
sp += 5;
long margin = centered ? column : 1;
if(margin < 1) margin = 1;
c_unescape_str(sp);
while(*sp && online && column < cols - margin)
bputs(sp, P_TRUNCATE);
return nulstr;
......
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