From 868af9769a1423afd90bc594069cf2b344c8a893 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 1 Sep 2005 22:42:24 +0000 Subject: [PATCH] For now, I think a destructive backspace is more important than a properly masked space... feel free to start a debate on this as I'm not sure which is more right. EVENTUALLY something "right" needs to be done here. --- src/sbbs3/con_out.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/con_out.cpp b/src/sbbs3/con_out.cpp index f1c9d7f3b2..180d3bfef4 100644 --- a/src/sbbs3/con_out.cpp +++ b/src/sbbs3/con_out.cpp @@ -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) { @@ -211,7 +211,7 @@ void sbbs_t::outchar(char ch) if(online==ON_REMOTE && console&CON_R_ECHO) { /* TODO: If this replaces spaces, destructive backspace won't work */ /* if it doesn't, a space is displayed as a space */ - 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'; } -- GitLab