summaryrefslogtreecommitdiffstats
path: root/apps/plugins/puzzles
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-03-18 13:07:39 -0400
committerFranklin Wei <git@fwei.tk>2018-03-18 13:07:39 -0400
commit9006e75cde6ad92fd542715ba9013e01a13bbe8d (patch)
tree55ad4c148bb2698710e6ecf34f158edc74386b1b /apps/plugins/puzzles
parent77641d59a7ece60554da6cc1337d885786e5fc3f (diff)
downloadrockbox-9006e75cde6ad92fd542715ba9013e01a13bbe8d.tar.gz
rockbox-9006e75cde6ad92fd542715ba9013e01a13bbe8d.zip
puzzles: fix typo
Change-Id: I6b8c18472749248508d4e5b1595b8903e687f67c
Diffstat (limited to 'apps/plugins/puzzles')
-rw-r--r--apps/plugins/puzzles/compress.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/puzzles/compress.c b/apps/plugins/puzzles/compress.c
index 04df077e53..0e52c4b659 100644
--- a/apps/plugins/puzzles/compress.c
+++ b/apps/plugins/puzzles/compress.c
@@ -114,7 +114,7 @@ int main()
--i;
break;
case '$':
- /* genhelp.sh replaces the dollar signs in URLs with
+ /* genhelp.sh replaces the underscores in URLs with
* dollar signs to help us out. */
buf[i] = '_';
break;
@@ -137,9 +137,7 @@ int main()
int words_check = 0;
for(int i = 0; i < help_text_len; ++i)
if(!buf[i])
- {
++words_check;
- }
assert(words_check == word_idx);