Skip to content
Snippets Groups Projects
Commit 54985c55 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Use term->cond_newline() for brevity

No functional change
parent 46506ad6
Branches
No related tags found
No related merge requests found
......@@ -261,8 +261,8 @@ bool sbbs_t::getnmsg(bool clearline)
if (clearline)
term->clearline();
else if (term->column)
CRLF;
else
term->cond_newline();
putmsg(buf, P_NOATCODES);
free(buf);
......@@ -345,8 +345,7 @@ bool sbbs_t::getsmsg(int usernumber, bool clearline)
if (clearline)
term->clearline();
else
if (term->column)
CRLF;
term->cond_newline();
putmsg(buf, P_NOATCODES);
free(buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment