diff options
author | Franklin Wei <git@fwei.tk> | 2017-05-22 19:46:01 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-05-22 19:46:01 -0400 |
commit | 6d541fe9b6b30318f7500c7153a2e37c7e2796bc (patch) | |
tree | e642bbe36ae3e7f30e862b8f131d32fbd3ccd861 | |
parent | 6bba062599ca307869377154899b8db735fc7474 (diff) | |
download | rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.gz rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.zip |
puzzles: work around inconsistent naming
Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f
-rw-r--r-- | apps/plugins/puzzles/help.c | 5 |
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 @@ | |||
4 | void full_help(const char *name) | 4 | void full_help(const char *name) |
5 | { | 5 | { |
6 | int ch_num = -1; | 6 | int ch_num = -1; |
7 | |||
8 | /* dirty hack */ | ||
9 | if(!strcmp(name, "Train Tracks")) | ||
10 | name = "Tracks"; | ||
11 | |||
7 | /* search the help text for a chapter with this name */ | 12 | /* search the help text for a chapter with this name */ |
8 | for(int ch = 0; ch < help_numchapters; ++ch) | 13 | for(int ch = 0; ch < help_numchapters; ++ch) |
9 | { | 14 | { |