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