list' should be an extern'd char **', not a local `char *' which we

never set.  Ideally, we'd get the extern from tutor.h, but that
defines a number of other variables that conflict with ours.

This fixes a segmentation fault when trying to return to the main menu.

PR:		30172
This commit is contained in:
dd 2001-09-03 14:19:46 +00:00
parent b7b50a3fa3
commit 462c9be352

View File

@ -41,7 +41,8 @@ static const char rcsid[] =
#include "back.h"
char *prompt, *list, *opts;
extern const char *const list[];
char *prompt, *opts;
const char *const doubl[] = {
"\nDoubling:",