summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-05-22 19:46:01 -0400
committerFranklin Wei <git@fwei.tk>2017-05-22 19:46:01 -0400
commit6d541fe9b6b30318f7500c7153a2e37c7e2796bc (patch)
treee642bbe36ae3e7f30e862b8f131d32fbd3ccd861
parent6bba062599ca307869377154899b8db735fc7474 (diff)
downloadrockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.gz
rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.bz2
rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.zip
puzzles: work around inconsistent naming
Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f
-rw-r--r--apps/plugins/puzzles/help.c5
1 files changed, 5 insertions, 0 deletions
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)
{