Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 38724d1c authored by rswindell's avatar rswindell

Fixed word-wrap bug in getstr() - not printing cr/lf.

parent 95e9ef6f
......@@ -507,15 +507,15 @@ size_t sbbs_t::getstr(char *strout, size_t maxlen, long mode)
wordwrap[z]=0;
if(!(mode&K_NOECHO))
while(z--) {
bputs("\b \b");
rputs("\b \b");
i--;
}
strrev(wordwrap);
str1[x]=0;
strcpy(strout,str1);
if(strip_invalid_attr(strout) && !(mode&K_NOECHO))
redrwstr(strout,i,x,(char)mode);
if(!(mode&K_NOECHO|K_NOCRLF))
redrwstr(strout,i,x,mode);
if(!(mode&(K_NOECHO|K_NOCRLF)))
CRLF;
return(x);
}
......
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