Commit f2c39ffa authored by rswindell's avatar rswindell
Browse files

Resolve warning.

parent 2f84553f
......@@ -91,7 +91,7 @@ int sbbs_t::show_atcode(const char *instr)
else if(padded_right)
bprintf("%*.*s",disp_len,disp_len,cp);
else if(centered) {
size_t vlen = strlen(cp);
int vlen = strlen(cp);
if(vlen < disp_len) {
int left = (disp_len - vlen) / 2;
bprintf("%*s%-*s", left, "", disp_len - left, cp);
......
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