Skip to content
Snippets Groups Projects
Commit 25ded37e authored by deuce's avatar deuce
Browse files

Do not echo spaces when CON_R_ECHOX is set.

PR:42->closed
parent e33052f2
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ void sbbs_t::outchar(char ch)
#endif
#if 0
if(console&CON_L_ECHO) {
if(console&CON_L_ECHOX && (uchar)ch>' ')
if(console&CON_L_ECHOX && (uchar)ch>=' ')
putch(password_char);
else if(cfg.node_misc&NM_NOBEEP && ch==BEL); /* Do nothing if beep */
else if(ch==BEL) {
......@@ -209,7 +209,7 @@ void sbbs_t::outchar(char ch)
#endif
if(online==ON_REMOTE && console&CON_R_ECHO) {
if(console&CON_R_ECHOX && (uchar)ch>' ') {
if(console&CON_R_ECHOX && (uchar)ch>=' ') {
ch=text[YN][3];
if(text[YN][2]==0 || ch==0) ch='X';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment