From 5cdd931f8cac8ca5662a7ac3fdba3408365b11e7 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sun, 18 Oct 2009 09:59:23 +0000
Subject: [PATCH] Include the prepended space  in the NodeConnection text.dat
 strings.

---
 ctrl/text.dat             | 8 ++++----
 src/sbbs3/getnode.cpp     | 4 ++--
 src/sbbs3/text_defaults.c | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ctrl/text.dat b/ctrl/text.dat
index fde4a73c44..47be2736b4 100644
--- a/ctrl/text.dat
+++ b/ctrl/text.dat
@@ -883,10 +883,10 @@
 "Waiting for all nodes to become inactive"		734 NodeStatusEventWaiting
 "Running external event"				735 NodeStatusEventRunning
 "Waiting for node %u to finish external event"		736 NodeStatusEventLimbo
-"via telnet"						737 NodeConnectionTelnet
-"via rlogin"						738 NodeConnectionRLogin
-"via ssh"						739 NodeConnectionSSH
-"at %ubps"						740 NodeConnectionModem
+" via telnet"						737 NodeConnectionTelnet
+" via rlogin"						738 NodeConnectionRLogin
+" via ssh"						739 NodeConnectionSSH
+" at %ubps"						740 NodeConnectionModem
 "\1h\1bQWK Settings for \1w%s #%u:\1n\r\n\r\n"		741 QWKSettingsHdr
 "\1n\1b[\1h\1wA\1n\1b] \1hCtrl-A Color Codes           \1n\1b: \1c%s\r\n"	742 QWKSettingsCtrlA
 "\1n\1b[\1h\1wT\1n\1b] \1hArchive Type                 \1n\1b: \1c%s\r\n"	743 QWKSettingsArchive
diff --git a/src/sbbs3/getnode.cpp b/src/sbbs3/getnode.cpp
index 767669b4fc..125f3154f1 100644
--- a/src/sbbs3/getnode.cpp
+++ b/src/sbbs3/getnode.cpp
@@ -402,7 +402,7 @@ static char* node_connection_desc(sbbs_t* sbbs, ushort conn, char* str)
 {
 	switch(conn) {
 		case NODE_CONNECTION_LOCAL:
-			return "Locally";	/* obsolete */
+			return " Locally";	/* obsolete */
 		case NODE_CONNECTION_TELNET:
 			return sbbs->text[NodeConnectionTelnet];
 		case NODE_CONNECTION_RLOGIN:
@@ -577,7 +577,7 @@ void sbbs_t::printnodedat(uint number, node_t* node)
 				default:
 					bputs(ultoa(node->action,tmp,10));
 					break;  }
-			bprintf(" %s",node_connection_desc(this, node->connection, tmp));
+			bputs(node_connection_desc(this, node->connection, tmp));
 			if(node->action==NODE_DLNG) {
 				if(cfg.sys_misc&SM_MILITARY) {
 					hour=node->aux/60;
diff --git a/src/sbbs3/text_defaults.c b/src/sbbs3/text_defaults.c
index 9e4dffec5f..3316b4c790 100644
--- a/src/sbbs3/text_defaults.c
+++ b/src/sbbs3/text_defaults.c
@@ -1189,10 +1189,10 @@ const char * const text_defaults[TOTAL_TEXT]={
 	,"\x52\x75\x6e\x6e\x69\x6e\x67\x20\x65\x78\x74\x65\x72\x6e\x61\x6c\x20\x65\x76\x65\x6e\x74"
 	,"\x57\x61\x69\x74\x69\x6e\x67\x20\x66\x6f\x72\x20\x6e\x6f\x64\x65\x20\x25\x75\x20\x74\x6f\x20\x66\x69\x6e\x69\x73\x68\x20\x65\x78"
 		"\x74\x65\x72\x6e\x61\x6c\x20\x65\x76\x65\x6e\x74"
-	,"\x76\x69\x61\x20\x74\x65\x6c\x6e\x65\x74"
-	,"\x76\x69\x61\x20\x72\x6c\x6f\x67\x69\x6e"
-	,"\x76\x69\x61\x20\x73\x73\x68"
-	,"\x61\x74\x20\x25\x75\x62\x70\x73"
+	,"\x20\x76\x69\x61\x20\x74\x65\x6c\x6e\x65\x74"
+	,"\x20\x76\x69\x61\x20\x72\x6c\x6f\x67\x69\x6e"
+	,"\x20\x76\x69\x61\x20\x73\x73\x68"
+	,"\x20\x61\x74\x20\x25\x75\x62\x70\x73"
 	,"\x01\x68\x01\x62\x51\x57\x4b\x20\x53\x65\x74\x74\x69\x6e\x67\x73\x20\x66\x6f\x72\x20\x01\x77\x25\x73\x20\x23\x25\x75\x3a\x01\x6e"
 		"\x0d\x0a\x0d\x0a"
 	,"\x01\x6e\x01\x62\x5b\x01\x68\x01\x77\x41\x01\x6e\x01\x62\x5d\x20\x01\x68\x43\x74\x72\x6c\x2d\x41\x20\x43\x6f\x6c\x6f\x72\x20\x43"
-- 
GitLab