From 51a7ade4a2920e8801904c74a604a64cffe8af88 Mon Sep 17 00:00:00 2001
From: "Rob Swindell (in GitKraken)" <rob@synchro.net>
Date: Sun, 19 Feb 2023 13:51:25 -0800
Subject: [PATCH] Fix help text wrapping issues recently introduced

Make the wizard use the same width (76) as the help screen to help identify text wrapping issues. Looks a bit better too.
---
 src/sbbs3/scfg/scfg.c    |  6 +++---
 src/sbbs3/scfg/scfgsys.c | 11 ++++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/src/sbbs3/scfg/scfg.c b/src/sbbs3/scfg/scfg.c
index a4abbb5f46..e88af6ac09 100644
--- a/src/sbbs3/scfg/scfg.c
+++ b/src/sbbs3/scfg/scfg.c
@@ -155,7 +155,7 @@ void sort_dirs(int libnum)
 
 void wizard_msg(int page, int total, const char* text)
 {
-	uifc.showbuf(WIN_HLP|WIN_DYN|WIN_L2R, 2, 2, 78, 20, "Setup Wizard", text, NULL, NULL);
+	uifc.showbuf(WIN_HLP|WIN_DYN|WIN_L2R, 2, 2, 76, 20, "Setup Wizard", text, NULL, NULL);
 	if(page > 0 && page < total) {
 		int x = (uifc.scrn_width / 2) + 22;
 		int y = 21;
@@ -317,8 +317,8 @@ void cfg_wizard(void)
 					"At this point you must re-enter the system password that you set earlier\n"
 					"in the configuration wizard.\n"
 					"\n"
-					"This same password will be required of you when you login to the BBS with\n"
-					"any user account that has System Operator (sysop) privileges\n"
+					"This same password will be required of you when you login to the BBS\n"
+					"with any user account that has System Operator (sysop) privileges\n"
 					"(i.e. security level 90 or higher).\n"
 					);
 				char pass[sizeof(cfg.sys_pass)];
diff --git a/src/sbbs3/scfg/scfgsys.c b/src/sbbs3/scfg/scfgsys.c
index 11fe91eb61..c78b554fc6 100644
--- a/src/sbbs3/scfg/scfgsys.c
+++ b/src/sbbs3/scfg/scfgsys.c
@@ -118,12 +118,13 @@ int edit_sys_id(int page, int total)
 		uifc.helpbuf=
 			"`BBS ID for QWK Packets:`\n"
 			"\n"
-			"Enter an ID for your BBS that will be used for QWK message packets.  This\n"
-			"ID should be an abbreviation of your BBS name or other related words.\n"
+			"Enter an ID for your BBS that will be used for QWK message packets.\n"
+			"This ID should be an abbreviation of your BBS name or other related\n"
+			"words.\n"
 			"\n"
-			"The maximum length of the ID is eight characters and cannot contain spaces\n"
-			"or other invalid DOS filename characters.  This ID should not begin with a\n"
-			"number.\n" 
+			"The maximum length of the ID is eight characters and cannot contain\n"
+			"spaces or other invalid DOS filename characters.  This ID should not\n"
+			"begin with a number.\n" 
 			"\n"
 			"In a QWK packet network, each system must have a unique BBS ID.\n"
 		;
-- 
GitLab