From ad19c178c89fa4caa74fc9bce3560a276c333f15 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 29 Jan 2002 00:15:53 +0000
Subject: [PATCH] Help index is written as a short. Displays help index entries
 as it writes them to the index (for debugging).

---
 src/sbbs3/scfg/makehelp.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/scfg/makehelp.c b/src/sbbs3/scfg/makehelp.c
index ce8454fe79..ccd0c79add 100644
--- a/src/sbbs3/scfg/makehelp.c
+++ b/src/sbbs3/scfg/makehelp.c
@@ -29,7 +29,8 @@ int main(void)
 				,"scfgxtrn.c"
 				,NULL };
 	char str[256],tmp[256];
-	int i,j,k,line,ixb;
+	int i,j,k,ixb;
+	unsigned short line;
 	long l;
 	FILE *stream,*out;
 
@@ -52,6 +53,7 @@ int main(void)
 				break;
 			line++;
 			if(strstr(str,"SETHELP(WHERE);")) {
+				printf("%s:%u\n",files[i],line);
 				l=ftell(out);
 				write(ixb,files[i],12);
 				write(ixb,&line,2);
-- 
GitLab