Skip to content
Snippets Groups Projects
Commit a798a0cc authored by rswindell's avatar rswindell
Browse files

Eliminate hard-coded "Continue?" prompt, using text.dat line 564 instead

(previously "Wait", but unused).
parent 17aec8d3
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -38,8 +38,6 @@
#include "sbbs.h"
#include "cmdshell.h"
static char* ContinueText = "Continue";
/****************************************************************************/
/* This function is invoked when a user enters "NEW" at the NN: prompt */
/* Prompts user for personal information and then sends feedback to sysop. */
......@@ -204,7 +202,7 @@ BOOL sbbs_t::newuser()
|| trashcan(useron.alias,"name")
|| (!(cfg.uq&UQ_ALIASES) && !strchr(useron.alias,' '))) {
bputs(text[YouCantUseThatName]);
if(!yesno(ContinueText))
if(!yesno(text[ContinueQ]))
return(FALSE);
continue;
}
......@@ -225,7 +223,7 @@ BOOL sbbs_t::newuser()
bputs(text[YouCantUseThatName]);
else
break;
if(!yesno(ContinueText))
if(!yesno(text[ContinueQ]))
return(FALSE);
}
}
......@@ -249,7 +247,7 @@ BOOL sbbs_t::newuser()
bputs(text[YouCantUseThatName]);
else
break;
if(!yesno(ContinueText))
if(!yesno(text[ContinueQ]))
return(FALSE);
}
if(!online) return(FALSE);
......
......@@ -8,7 +8,7 @@
* @format.tab-size 4 (Plain Text/Source Code File Header) *
* @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) *
* *
* Copyright 2000 Rob Swindell - http://www.synchro.net/copyright.html *
* Copyright 2004 Rob Swindell - http://www.synchro.net/copyright.html *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
......@@ -607,7 +607,7 @@ enum {
,No
,NoYesQuestion
,Pause
,Unused564 /* was Wait */
,ContinueQ /* was Wait */
,SysStatsLogHdr
,NodeStatsLogHdr
,ReducedTime
......
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