From 6d541fe9b6b30318f7500c7153a2e37c7e2796bc Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Mon, 22 May 2017 19:46:01 -0400 Subject: puzzles: work around inconsistent naming Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f --- apps/plugins/puzzles/help.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/plugins/puzzles') diff --git a/apps/plugins/puzzles/help.c b/apps/plugins/puzzles/help.c index 13ca7eaa8a..4a2560e4c4 100644 --- a/apps/plugins/puzzles/help.c +++ b/apps/plugins/puzzles/help.c @@ -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) { -- cgit v1.2.3