puzzles: work around inconsistent naming

Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f
This commit is contained in:
Franklin Wei 2017-05-22 19:46:01 -04:00
parent 6bba062599
commit 6d541fe9b6

View file

@ -4,6 +4,11 @@
void full_help(const char *name)
{
int ch_num = -1;
/* dirty hack */
if(!strcmp(name, "Train Tracks"))
name = "Tracks";
/* search the help text for a chapter with this name */
for(int ch = 0; ch < help_numchapters; ++ch)
{