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 /apps | |
| parent | 6bba062599ca307869377154899b8db735fc7474 (diff) | |
| download | rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.zip rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.gz rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.bz2 rockbox-6d541fe9b6b30318f7500c7153a2e37c7e2796bc.tar.xz | |
puzzles: work around inconsistent naming
Change-Id: I0541485af087d0bea845e05fbcf61b01be91bf6f
Diffstat (limited to 'apps')
| -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 13ca7ea..4a2560e 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) { |