Skip to content
Snippets Groups Projects
Commit 75d0df0e authored by rswindell's avatar rswindell
Browse files

Fix bug introduced in rev 1.49: cols is the number of terminal columns, not

the current column number. Use the correct member variable name (column).
parent 8c198b45
Branches
Tags
No related merge requests found
......@@ -250,7 +250,7 @@ int sbbs_t::getnmsg(bool clearline)
if(clearline)
this->clearline();
else if(cols)
else if(column)
CRLF;
putmsg(buf,P_NOATCODES);
free(buf);
......@@ -358,7 +358,7 @@ int sbbs_t::getsmsg(int usernumber, bool clearline)
if(clearline)
this->clearline();
else
if(cols)
if(column)
CRLF;
strip_invalid_attr(buf);
putmsg(buf,P_NOATCODES);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment